Use latest Alpine for Docker builds
This commit is contained in:
parent
3e20a60741
commit
fc293b9f71
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/golang:alpine3.20 as builder
|
FROM docker.io/golang:alpine as builder
|
||||||
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
@ -6,7 +6,7 @@ WORKDIR /src
|
|||||||
RUN apk add --no-cache --update go gcc g++
|
RUN apk add --no-cache --update go gcc g++
|
||||||
RUN go build -o /src/yggmail ./cmd/yggmail
|
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.source=https://github.com/neilalexander/yggmail
|
||||||
LABEL org.opencontainers.image.description=Yggmail
|
LABEL org.opencontainers.image.description=Yggmail
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user