-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code changes from dockerfile-generator
- Loading branch information
dockerfile-generator
committed
Oct 16, 2023
1 parent
8d7dea0
commit a5346ee
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM google/cloud-sdk:450.0.0-alpine@sha256:cbd5227a6b73345f72f7bb6ee04be147f443080dc0cc43052aef63642d5ff47c AS base | ||
FROM google/cloud-sdk:450.0.0-alpine@sha256:98ce8884e163ccfe4df8f87c26bdb5bcf6bee50afd083660457a3fa3ba7e419e AS base | ||
Check notice Code scanning / Trivy No HEALTHCHECK defined Low
Artifact: Dockerfile
Type: dockerfile Vulnerability DS026 Severity: LOW Message: Add HEALTHCHECK instruction in your Dockerfile Link: DS026 |
||
ARG KUSTOMIZE_VERSION=5.1.1 | ||
ARG SOPS_VERSION=3.8.0 | ||
ARG HELM_VERSION=3.13.0 | ||
ARG SOPS_VERSION=3.8.1 | ||
ARG HELM_VERSION=3.13.1 | ||
ADD https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz /tmp | ||
ADD https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz /tmp | ||
RUN tar xf /tmp/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz -C /usr/bin && \ | ||
tar xf /tmp/helm-v${HELM_VERSION}-linux-amd64.tar.gz -C /usr/bin && \ | ||
wget https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64 -O /usr/bin/sops && \ | ||
chmod a+x /usr/bin/sops | ||
|
||
FROM google/cloud-sdk:450.0.0-alpine@sha256:cbd5227a6b73345f72f7bb6ee04be147f443080dc0cc43052aef63642d5ff47c | ||
FROM google/cloud-sdk:450.0.0-alpine@sha256:98ce8884e163ccfe4df8f87c26bdb5bcf6bee50afd083660457a3fa3ba7e419e | ||
COPY --from=base /usr/bin/kustomize /usr/bin/kustomize | ||
COPY --from=base /usr/bin/linux-amd64/helm /usr/bin/helm | ||
COPY --from=base /usr/bin/sops /usr/bin/sops | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters