Skip to content

Commit 9b11542

Browse files
committed
fix: remove anthoscli from google cloud SDK reducing image size
The Anthos CLI is not used by snyk-monitor so it can be safely removed.
1 parent 5cfdead commit 9b11542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN useradd -g snyk -d /srv/app -u 10001 snyk
3636

3737
# Install gcloud
3838
RUN curl -sL https://sdk.cloud.google.com > /install.sh
39-
RUN bash /install.sh --disable-prompts --install-dir=/
39+
RUN bash /install.sh --disable-prompts --install-dir=/ && rm /google-cloud-sdk/bin/anthoscli
4040
ENV PATH=/google-cloud-sdk/bin:$PATH
4141
RUN rm /install.sh
4242

0 commit comments

Comments
 (0)