move grpc-health-probe download below wget install
This commit is contained in:
parent
8fe5c0cb1d
commit
42113d1921
1 changed files with 5 additions and 4 deletions
|
@ -8,10 +8,6 @@ RUN dotnet restore && \
|
||||||
# cartservice
|
# cartservice
|
||||||
FROM gcr.io/dotnet-debugger/aspnetcore:2.1
|
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
|
# Dependencies for runtime
|
||||||
# busybox-extras => telnet
|
# busybox-extras => telnet
|
||||||
RUN apt-get install -q -y --no-install-recommends \
|
RUN apt-get install -q -y --no-install-recommends \
|
||||||
|
@ -24,6 +20,11 @@ RUN apt-get install -q -y --no-install-recommends \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
wget
|
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
|
WORKDIR /app
|
||||||
COPY --from=builder /cartservice .
|
COPY --from=builder /cartservice .
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue