diff --git a/src/service/Dockerfile b/src/service/Dockerfile index 49efe9829d63f1923b3bb271c66a05b02bd8e499..54dc4ac94ce27f9d5c5aab824d26bce1fc8f4fe5 100644 --- a/src/service/Dockerfile +++ b/src/service/Dockerfile @@ -23,7 +23,7 @@ RUN apt-get --yes --quiet --quiet update && \ ENV PYTHONUNBUFFERED=0 # Download the gRPC health probe -RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \ +RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \ wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \ chmod +x /bin/grpc_health_probe @@ -57,7 +57,7 @@ RUN find . -type f -exec sed -i -E 's/^(import\ .*)_pb2/from . \1_pb2/g' {} \; RUN mkdir -p /var/teraflow/service WORKDIR /var/teraflow/service COPY src/service/requirements.in requirements.in -RUN pip-compile --quiet --output-file=requirements.txt requirements.in +RUN pip-compile --quiet --output-file=requirements.txt requirements.in /var/teraflow/common_requirements.in RUN python3 -m pip install -r requirements.txt # Add component files into working directory