Commit 3236c77f authored by Carlos Natalino's avatar Carlos Natalino
Browse files

Debug issue with pip-compile and improve workflow

parent 1184d380
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -28,15 +28,13 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \
    chmod +x /bin/grpc_health_probe

# Get generic Python packages
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade setuptools wheel
RUN python3 -m pip install --upgrade pip-tools
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel pip-tools

# Get common Python packages
# Note: this step enables sharing the previous Docker build steps among all the Python components
WORKDIR /var/teraflow
COPY common_requirements.in common_requirements.in
RUN pip-compile --quiet --output-file=common_requirements.txt common_requirements.in
RUN pip-compile --no-build-isolation --output-file=common_requirements.txt common_requirements.in
RUN python3 -m pip install -r common_requirements.txt

# Add common files into working directory