1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-01 22:46:41 -04:00

Compare commits

...

3 Commits

Author SHA1 Message Date
90b15c893d Hugo v0.87.0 2021-08-03 13:33:51 -04:00
b31b18ac2d bump alpine, pandoc, and sass embedded versions 2021-07-30 10:23:11 -04:00
4df70ef38c Hugo v0.86.1 2021-07-30 08:33:13 -04:00

View File

@ -1,14 +1,15 @@
# 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.86.0 ARG HUGO_VERSION=0.87.0
# remove/comment the following line completely to compile vanilla Hugo: # remove/comment the following line completely to compile vanilla Hugo:
ARG HUGO_BUILD_TAGS=extended ARG HUGO_BUILD_TAGS=extended
# Hugo >= v0.81.0 requires Go 1.16+ to build # Hugo >= v0.81.0 requires Go 1.16+ to build
ARG GO_VERSION=1.16 ARG GO_VERSION=1.16
ARG ALPINE_VERSION=3.14
# --- # ---
FROM golang:${GO_VERSION}-alpine3.13 AS build FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS build
# renew global args from above # renew global args from above
# https://docs.docker.com/engine/reference/builder/#scope # https://docs.docker.com/engine/reference/builder/#scope
@ -46,14 +47,14 @@ RUN go get github.com/yaegashi/muslstack && \
# --- # ---
FROM alpine:3.13 FROM alpine:${ALPINE_VERSION}
# renew global args from above & pin any dependency versions # renew global args from above & pin any dependency versions
ARG HUGO_VERSION ARG HUGO_VERSION
# https://github.com/jgm/pandoc/releases # https://github.com/jgm/pandoc/releases
ARG PANDOC_VERSION=2.14 ARG PANDOC_VERSION=2.14.1
# https://github.com/sass/dart-sass-embedded/releases # https://github.com/sass/dart-sass-embedded/releases
ARG DART_SASS_VERSION=1.0.0-beta.7 ARG DART_SASS_VERSION=1.0.0-beta.8
LABEL version="${HUGO_VERSION}" LABEL version="${HUGO_VERSION}"
LABEL repository="https://github.com/jakejarvis/hugo-docker" LABEL repository="https://github.com/jakejarvis/hugo-docker"