1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-01 23:56:42 -04:00

Compare commits

...

1 Commits

Author SHA1 Message Date
54f06a59e8 Hugo v0.81.0
also force AMD64 base image (ran into problems with Docker on Apple Silicon since there's no ARM Linux version of Hugo)
2021-02-20 22:57:25 -05:00

View File

@ -1,9 +1,9 @@
# Hugo doesn't require Go to run, *except* if you're using Hugo Modules. It's # Hugo doesn't require Go to run, *except* if you're using Hugo Modules. It's
# much easier to install Node on the Go base image than vice-versa. # much easier to install Node on the Go base image than vice-versa.
FROM golang:1.15-alpine FROM amd64/golang:1.16-alpine
# the following version can be overridden at image build time with --build-arg # the following version can be overridden at image build time with --build-arg
ARG HUGO_VERSION=0.80.0 ARG HUGO_VERSION=0.81.0
# remove/comment the following line completely to build with vanilla Hugo: # remove/comment the following line completely to build with vanilla Hugo:
ARG HUGO_EXTENDED=1 ARG HUGO_EXTENDED=1