Skip to content

Commit

Permalink
build: tweak version pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken authored Jul 31, 2024
1 parent ee7ee3e commit 3f0de48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hariko/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM golang:1.22.3-alpine as builder
FROM golang:1.22.3-alpine3.20 as builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o hariko

FROM alpine:3.19.1
FROM alpine:3.20
COPY --from=builder /app/hariko /
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
RUN export HELM_DRIVER=configmap \
&& apk add --no-cache bash=~5.2.21 curl=~8.5.0 openssl=~3.1.6 \
&& apk add --no-cache bash=~5 curl=~8 openssl=~3 \
&& curl -LSfs https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
ENTRYPOINT ["/hariko"]

0 comments on commit 3f0de48

Please sign in to comment.