Skip to content

Commit

Permalink
Update alpine image inside docker to 3.20.
Browse files Browse the repository at this point in the history
- The newer prometheus library versions need go 1.20+.
  • Loading branch information
marcopaganini committed Jun 27, 2024
1 parent eab4376 commit 24b3548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG gopath="${home}/go"
ARG src_dir="${home}/${project_name}"

# Primary build stage.
FROM alpine:3.17 as builder
FROM alpine:3.20 as builder

# Pull from defaults.
ARG project_name
Expand Down Expand Up @@ -39,7 +39,7 @@ RUN apk add --no-cache ca-certificates git git-crypt go make && \
make

# Build the second stage (small) image
FROM alpine:3.17
FROM alpine:3.20
LABEL org.opencontainers.image.title="${project_title}"
LABEL org.opencontainers.image.authors="${project_author}"
LABEL org.opencontainers.image.source="${project_source}"
Expand Down

0 comments on commit 24b3548

Please sign in to comment.