Skip to content

Commit 6666d7b

Browse files
authored
chore: bump docker alpine version to 3.16
Alpine linux 3.12 has reached EOL past may. Also the build layer was implicitly on 3.16 already, creating a misalignment. This should fix both.
1 parent c48e3f5 commit 6666d7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine as builder
1+
FROM golang:1.19-alpine3.16 as builder
22

33
ENV BUILD_IN_DOCKER true
44
ARG VERSION
@@ -21,7 +21,7 @@ COPY .git/ .git/
2121

2222
RUN ./scripts/build.sh
2323

24-
FROM alpine:3.12
24+
FROM alpine:3.16
2525
WORKDIR /
2626
RUN apk update && apk add --no-cache bash ca-certificates openssh-client && update-ca-certificates
2727
COPY --from=builder /go/src/github.com/scaleway/scaleway-cli/scw .

0 commit comments

Comments
 (0)