Use latest Alpine for Docker builds

This commit is contained in:
Neil Alexander 2024-10-20 17:57:01 +01:00
parent 3e20a60741
commit fc293b9f71
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -1,4 +1,4 @@
FROM docker.io/golang:alpine3.20 as builder
FROM docker.io/golang:alpine as builder
COPY . /src
WORKDIR /src
@ -6,7 +6,7 @@ WORKDIR /src
RUN apk add --no-cache --update go gcc g++
RUN go build -o /src/yggmail ./cmd/yggmail
FROM docker.io/alpine:3.18
FROM docker.io/alpine
LABEL org.opencontainers.image.source=https://github.com/neilalexander/yggmail
LABEL org.opencontainers.image.description=Yggmail