Skip to content

Commit 615dd18

Browse files
authored
fix: security-vulns in gitops-runtime-installer image
* update cli-v2 from 0.1.68 to 0.1.69 (#363) * update kubectl from 1.28.12 to 1.32.0
1 parent dd79b4b commit 615dd18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

installer-image/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
FROM debian:bullseye-slim
22

3-
ARG CF_CLI_VERSION=v0.1.68
4-
ARG KUBECTL_VERSION=v1.28.12
3+
ARG CF_CLI_VERSION=v0.1.69
54
ARG TARGETARCH
65

76
RUN apt-get update && apt-get install curl -y
87
RUN curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/${CF_CLI_VERSION}/cf-linux-${TARGETARCH}.tar.gz | tar zx && mv ./cf-linux-${TARGETARCH} /usr/local/bin/cf
9-
RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl && chmod +x kubectl && mv ./kubectl /usr/local/bin/kubectl
8+
COPY --from=bitnami/kubectl:1.32.0 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
109

1110
RUN adduser --shell /bin/bash codefresh
1211
USER codefresh

0 commit comments

Comments
 (0)