Skip to content

Commit

Permalink
Remove google sdk from base image
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin committed Mar 19, 2024
1 parent 083a681 commit f14ddaa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .circleci/.anchore/grype.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
ignore:
- vulnerability: CVE-2023-47038
- vulnerability: CVE-2023-5981

# https://github.com/anchore/grype#specifying-matches-to-ignore
# example to ignore a vulnerability
Expand Down
9 changes: 0 additions & 9 deletions deploy/Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,4 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y \
&& rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates

RUN echo "deb http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
&& apt-get update -y && apt-get install --no-install-recommends -y \
google-cloud-sdk \
&& apt-get clean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates

WORKDIR /out

0 comments on commit f14ddaa

Please sign in to comment.