From a7b05206999cad21a032b21ed86620d0365875ed Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Thu, 16 May 2024 15:12:06 +0000 Subject: [PATCH] Unite RUN commands --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b82b608..aac36ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,9 +71,9 @@ RUN apt-get update && apt-get install -y alien && \ COPY ./ /opt/packet-hardware/ # Install packet-hardware RUN apt update && \ - apt install -y git python3 python3-pip -RUN pip3 install --no-cache-dir --break-system-packages /opt/packet-hardware -RUN apt clean -qy && \ + apt install -y git python3 python3-pip && \ + pip3 install --no-cache-dir --break-system-packages /opt/packet-hardware && \ + apt clean -qy && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /opt/packet-hardware