From e54a02ad8c002abe003ef1ee801ac78f2fd827cc Mon Sep 17 00:00:00 2001 From: Malar Kannan Date: Sat, 21 Jun 2025 02:10:19 +0530 Subject: [PATCH] fix: Fix Dockerfile RUN command continuation (#16) --- exporter/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exporter/Dockerfile b/exporter/Dockerfile index a897b7c..cc3e99a 100644 --- a/exporter/Dockerfile +++ b/exporter/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app # Minimal dependencies for builder stage if any Python packages had C extensions. # Assuming requirements.txt does not need gcc or other build tools for now. # If pip install fails later, add necessary build tools (e.g., gcc, python3-dev) here. -RUN apt-get update && +RUN apt-get update && \ # apt-get install -y --no-install-recommends gcc python3-dev # Example if needed rm -rf /var/lib/apt/lists/* @@ -23,8 +23,8 @@ WORKDIR /app # Install iperf3 and its runtime dependency libsctp1 directly in the final stage. # This simplifies the Dockerfile by removing the need to copy iperf3 components from the builder. -RUN apt-get update && - apt-get install -y --no-install-recommends iperf3 libsctp1 && +RUN apt-get update && \ + apt-get install -y --no-install-recommends iperf3 libsctp1 && \ rm -rf /var/lib/apt/lists/* # Copy installed Python packages from the builder stage