From 176b2a07ea6e990ccd909bfbea5e794a6c3088a1 Mon Sep 17 00:00:00 2001 From: vitaliichyrka Date: Mon, 27 Oct 2025 15:06:49 +0200 Subject: [PATCH] upd cli-v2 , debian for installer --- installer-image/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/installer-image/Dockerfile b/installer-image/Dockerfile index 8f75bfd0a..c7c612790 100644 --- a/installer-image/Dockerfile +++ b/installer-image/Dockerfile @@ -1,14 +1,13 @@ -FROM golang:1.24.6 AS go-build +FROM golang:1.24.6 AS go-build RUN go install github.com/davidrjonas/semver-cli@latest \ && cp $GOPATH/bin/semver-cli /usr/local/bin/ -#bookworm-slim -FROM debian:12.12-slim +FROM debian:13-slim RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections -ARG CF_CLI_VERSION=v0.2.13 +ARG CF_CLI_VERSION=v0.2.14 ARG TARGETARCH RUN apt-get update && apt-get install curl jq -y @@ -17,6 +16,6 @@ COPY --from=go-build /usr/local/bin/semver-cli /usr/local/bin/semver-cli COPY --from=bitnamilegacy/kubectl:1.33.4 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/ -RUN adduser --shell /bin/bash codefresh +RUN useradd -m -s /bin/bash codefresh USER codefresh WORKDIR /home/codefresh