mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docker: Update to Go 1.15 and Alpine 3.12
This commit is contained in:
parent
78b26d538c
commit
f5ea359dd3
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Twitter: https://twitter.com/gohugoio
|
# Twitter: https://twitter.com/gohugoio
|
||||||
# Website: https://gohugo.io/
|
# Website: https://gohugo.io/
|
||||||
|
|
||||||
FROM golang:1.13-alpine AS build
|
FROM golang:1.15-alpine AS build
|
||||||
|
|
||||||
# Optionally set HUGO_BUILD_TAGS to "extended" when building like so:
|
# Optionally set HUGO_BUILD_TAGS to "extended" when building like so:
|
||||||
# docker build --build-arg HUGO_BUILD_TAGS=extended .
|
# docker build --build-arg HUGO_BUILD_TAGS=extended .
|
||||||
|
@ -26,7 +26,7 @@ RUN mage hugo && mage install
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
FROM alpine:3.11
|
FROM alpine:3.12
|
||||||
|
|
||||||
COPY --from=build /go/bin/hugo /usr/bin/hugo
|
COPY --from=build /go/bin/hugo /usr/bin/hugo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue