You've already forked hugo-docker
mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-07-01 15:46:41 -04:00
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
f1513cf6c7
|
|||
e608453299
|
|||
7a43febe15
|
|||
4898a96b66
|
|||
73e0bf7815
|
|||
d6ca9055b4
|
|||
bca0721d67
|
|||
33bd893ed3
|
|||
d9338044c5
|
|||
cb26219a40
|
|||
f6580ec25c
|
|||
6bc21e062a
|
|||
04930ae9ae
|
|||
eb82474eb8
|
|||
90b15c893d
|
|||
b31b18ac2d
|
|||
4df70ef38c
|
13
Dockerfile
13
Dockerfile
@ -1,14 +1,15 @@
|
||||
# the following version can be overridden at image build time with --build-arg
|
||||
ARG HUGO_VERSION=0.86.0
|
||||
ARG HUGO_VERSION=0.92.1
|
||||
# remove/comment the following line completely to compile vanilla Hugo:
|
||||
ARG HUGO_BUILD_TAGS=extended
|
||||
|
||||
# Hugo >= v0.81.0 requires Go 1.16+ to build
|
||||
ARG GO_VERSION=1.16
|
||||
ARG GO_VERSION=1.17
|
||||
ARG ALPINE_VERSION=3.15
|
||||
|
||||
# ---
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine3.13 AS build
|
||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS build
|
||||
|
||||
# renew global args from above
|
||||
# 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
|
||||
ARG HUGO_VERSION
|
||||
# https://github.com/jgm/pandoc/releases
|
||||
ARG PANDOC_VERSION=2.14
|
||||
ARG PANDOC_VERSION=2.17
|
||||
# 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.15
|
||||
|
||||
LABEL version="${HUGO_VERSION}"
|
||||
LABEL repository="https://github.com/jakejarvis/hugo-docker"
|
||||
|
Reference in New Issue
Block a user