#8210 Upgrade golang version for Dockerfile

https://github.com/gohugoio/hugo/issues/8210
relates to: #8210
This commit is contained in:
Systemkern 2021-02-28 12:46:30 +01:00 committed by Bjørn Erik Pedersen
parent 60469f429e
commit 5afcae7e0b

View file

@ -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.15-alpine AS build FROM golang:1.16-alpine AS build
# Optionally set HUGO_BUILD_TAGS to "extended" or "nodeploy" when building like so: # Optionally set HUGO_BUILD_TAGS to "extended" or "nodeploy" when building like so:
# docker build --build-arg HUGO_BUILD_TAGS=extended . # docker build --build-arg HUGO_BUILD_TAGS=extended .