1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

dockerfile: Update Docker images

- `golang:1.21-alpine`
- `alpine:3.18`
This commit is contained in:
michalbiesek
2023-08-23 18:06:52 +02:00
committed by GitHub
parent dcf425c846
commit 8a08f91d5b

View File

@ -2,7 +2,7 @@
# Twitter: https://twitter.com/gohugoio
# Website: https://gohugo.io/
FROM golang:1.19-alpine AS build
FROM golang:1.21-alpine AS build
# Optionally set HUGO_BUILD_TAGS to "extended" or "nodeploy" when building like so:
# docker build --build-arg HUGO_BUILD_TAGS=extended .
@ -26,7 +26,7 @@ RUN mage hugo && mage install
# ---
FROM alpine:3.16
FROM alpine:3.18
COPY --from=build /go/bin/hugo /usr/bin/hugo