requested changes

This commit is contained in:
Hamidreza Asaadi 2018-11-26 18:29:32 -05:00
parent b285d6e9ff
commit 8fe5c0cb1d
2 changed files with 5 additions and 5 deletions

View file

@ -8,6 +8,10 @@ RUN dotnet restore && \
# cartservice
FROM gcr.io/dotnet-debugger/aspnetcore:2.1
RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
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
# Dependencies for runtime
# busybox-extras => telnet
RUN apt-get install -q -y --no-install-recommends \
@ -20,10 +24,6 @@ RUN apt-get install -q -y --no-install-recommends \
musl-dev \
wget
RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
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
WORKDIR /app
COPY --from=builder /cartservice .