Skip to content

Commit 229cac3

Browse files
committed
fix: update golang version and install additional packages in Dockerfile
Updated the golang base image to version 1.24.2 and added 'jq' to the apt-get install command to support JSON processing in subsequent scripts. This ensures compatibility and enhances functionality.
1 parent d352c7e commit 229cac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installer-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24 as go-build
1+
FROM golang:1.24.2 AS go-build
22

33
RUN go install github.com/davidrjonas/semver-cli@latest \
44
&& cp $GOPATH/bin/semver-cli /usr/local/bin/
@@ -11,7 +11,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
1111
ARG CF_CLI_VERSION=v0.2.6
1212
ARG TARGETARCH
1313

14-
RUN apt-get update && apt-get install curl -y
14+
RUN apt-get update && apt-get install curl jq -y
1515
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
1616
COPY --from=go-build /usr/local/bin/semver-cli /usr/local/bin/semver-cli
1717
COPY --from=bitnami/kubectl:1.32.3 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

0 commit comments

Comments
 (0)