From 026ad36515b4225e9cee0c384f880c503212ded2 Mon Sep 17 00:00:00 2001 From: Masayuki Morita Date: Fri, 2 Aug 2024 19:10:01 +0900 Subject: [PATCH] Update alpine to v3.20 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index af3b8bf..097eec9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build -FROM golang:1.22-alpine3.19 AS builder +FROM golang:1.22-alpine3.20 AS builder RUN apk --no-cache add make git WORKDIR /work @@ -13,7 +13,7 @@ RUN make build # The linux binary for hub can not run on alpine. # So we need to build it from source. # https://github.com/github/hub/issues/1818 -FROM golang:1.22-alpine3.19 AS hub +FROM golang:1.22-alpine3.20 AS hub RUN apk add --no-cache bash git RUN git clone https://github.com/github/hub /work WORKDIR /work @@ -22,7 +22,7 @@ RUN ./script/build -o bin/hub # runtime # Note: Required Tools for Primary Containers on CircleCI # https://circleci.com/docs/2.0/custom-images/#required-tools-for-primary-containers -FROM alpine:3.18 +FROM alpine:3.20 RUN apk --no-cache add bash git openssh-client tar gzip ca-certificates COPY --from=builder /work/bin/hcledit /usr/local/bin/ COPY --from=hub /work/bin/hub /usr/local/bin/