Skip to content

Commit

Permalink
chore: add log-streaming and cloud-run-proxy gcloud components in rel…
Browse files Browse the repository at this point in the history
…ease dockerfile (#8156)
  • Loading branch information
ericzzzzzzz authored Nov 28, 2022
1 parent b2ba140 commit da4f72e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@ RUN /google-cloud-sdk/install.sh \
--bash-completion=false \
--disable-installation-options
ENV PATH=$PATH:/google-cloud-sdk/bin
RUN gcloud auth configure-docker && \
gcloud components install gke-gcloud-auth-plugin
RUN gcloud auth configure-docker && gcloud components install --quiet \
gke-gcloud-auth-plugin \
cloud-run-proxy \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
Expand Down
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps.lts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ RUN /google-cloud-sdk/install.sh \
--bash-completion=false \
--disable-installation-options
ENV PATH=$PATH:/google-cloud-sdk/bin
RUN gcloud auth configure-docker && \
gcloud components install gke-gcloud-auth-plugin
RUN gcloud auth configure-docker && gcloud components install --quiet \
gke-gcloud-auth-plugin \
cloud-run-proxy \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
Expand Down
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps.slim
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ RUN /google-cloud-sdk/install.sh \
--bash-completion=false \
--disable-installation-options
ENV PATH=$PATH:/google-cloud-sdk/bin
RUN gcloud auth configure-docker && \
gcloud components install gke-gcloud-auth-plugin
RUN gcloud auth configure-docker && gcloud components install --quiet \
gke-gcloud-auth-plugin \
cloud-run-proxy \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
Expand Down

0 comments on commit da4f72e

Please sign in to comment.