From 8fe5c0cb1d3c5ec7076cc2403a07750442bc033b Mon Sep 17 00:00:00 2001
From: Hamidreza Asaadi
Date: Mon, 26 Nov 2018 18:29:32 -0500
Subject: [PATCH] requested changes
---
README.md | 2 +-
src/cartservice/Dockerfile | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index c362284..26a5e38 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ Find **Protocol Buffers Descriptions** at the [`./pb` directory](./pb).
gcloud container clusters create demo --enable-autoupgrade \
--enable-autoscaling --min-nodes=3 --max-nodes=10 --num-nodes=5 \
- -- scopes https://www.googleapis.com/auth/cloud_debugger
+ --scopes https://www.googleapis.com/auth/cloud_debugger
kubectl get nodes
diff --git a/src/cartservice/Dockerfile b/src/cartservice/Dockerfile
index d846ced..fdf0d93 100644
--- a/src/cartservice/Dockerfile
+++ b/src/cartservice/Dockerfile
@@ -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 .