Skip to content

Commit 68808c2

Browse files
authored
Merge pull request #842 from snyk/fix/remove-anthoscli
fix: remove anthoscli from google cloud SDK reducing image size
2 parents 5cfdead + 9b11542 commit 68808c2

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)