Use Alpine 3.18

This commit is contained in:
Neil Alexander
2023-12-09 22:27:14 +00:00
parent df696d4bdb
commit 9c0f9f68bb

View File

@@ -1,4 +1,4 @@
FROM docker.io/golang:alpine as builder FROM docker.io/golang:alpine3.18 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 FROM docker.io/alpine:3.18
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