Skip to content

Commit 9558a48

Browse files
update dockerfile with dhi
1 parent 81a48ee commit 9558a48

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,17 +1,16 @@
1-
FROM golang:1.24.6 AS go-build
1+
FROM octopusdeploy/dhi-golang:1.24-alpine3.23-dev AS go-build
22

33
RUN go install github.com/davidrjonas/semver-cli@latest \
44
&& cp $GOPATH/bin/semver-cli /usr/local/bin/
55

66
#bookworm-slim
7-
FROM debian:13-slim
7+
FROM octopusdeploy/dhi-debian-base:trixie_cf-gitops-runtime-installer-debian-13
88

99
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
1010

1111
ARG CF_CLI_VERSION=v0.2.16
1212
ARG TARGETARCH
1313

14-
RUN apt-get update && apt-get install curl jq -y
1514
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
1615
COPY --from=go-build /usr/local/bin/semver-cli /usr/local/bin/semver-cli
1716

0 commit comments

Comments
 (0)