Skip to content

Commit 90cf79e

Browse files
committed
feat: add gcloud to image
1 parent 2d49e0c commit 90cf79e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ RUN chmod 755 /usr/bin/dumb-init
3434
RUN groupadd -g 10001 snyk
3535
RUN useradd -g snyk -d /srv/app -u 10001 snyk
3636

37+
# Install gcloud
38+
RUN curl -sL https://sdk.cloud.google.com > /install.sh
39+
RUN bash /install.sh --disable-prompts --install-dir=/
40+
ENV PATH=/google-cloud-sdk/bin:$PATH
41+
RUN rm /install.sh
42+
3743
WORKDIR /srv/app
3844

3945
COPY --chown=snyk:snyk --from=skopeo-build /usr/bin/skopeo /usr/bin/skopeo

0 commit comments

Comments
 (0)