Skip to content

Commit

Permalink
fix: security-vulns in gitops-runtime-installer image
Browse files Browse the repository at this point in the history
* update cli-v2 from 0.1.68 to 0.1.69 (#363)
* update kubectl from 1.28.12 to 1.32.0
  • Loading branch information
ATGardner authored Dec 24, 2024
1 parent dd79b4b commit 615dd18
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions installer-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM debian:bullseye-slim

ARG CF_CLI_VERSION=v0.1.68
ARG KUBECTL_VERSION=v1.28.12
ARG CF_CLI_VERSION=v0.1.69
ARG TARGETARCH

RUN apt-get update && apt-get install curl -y
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
RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl && chmod +x kubectl && mv ./kubectl /usr/local/bin/kubectl
COPY --from=bitnami/kubectl:1.32.0 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

RUN adduser --shell /bin/bash codefresh
USER codefresh
Expand Down

0 comments on commit 615dd18

Please sign in to comment.