Skip to content

Commit 01a9643

Browse files
authored
build: bump alpine docker image to 3.24 (#1431)
* build: bump alpine docker image to 3.24 * apk upgrade
1 parent 7724986 commit 01a9643

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎Dockerfile‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25-alpine3.21 AS builder
1+
FROM golang:1.26-alpine3.24 AS builder
22
ARG VERSION
33

44
RUN apk add --no-cache git gcc musl-dev make
@@ -15,9 +15,10 @@ COPY . ./
1515

1616
RUN make build-docker
1717

18-
FROM alpine:3.21
18+
FROM alpine:3.24
1919

20-
RUN apk add --no-cache ca-certificates
20+
RUN apk upgrade --no-cache \
21+
&& apk add --no-cache ca-certificates
2122

2223
COPY --from=builder /go/src/github.com/golang-migrate/migrate/build/migrate.linux-386 /usr/local/bin/migrate
2324
RUN ln -s /usr/local/bin/migrate /migrate

‎Dockerfile.github-actions‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM alpine:3.19
1+
FROM alpine:3.24
22

3-
RUN apk add --no-cache ca-certificates
3+
RUN apk upgrade --no-cache \
4+
&& apk add --no-cache ca-certificates
45

56
COPY migrate /usr/local/bin/migrate
67

0 commit comments

Comments
 (0)