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
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
e10c7362c7
|
|||
5bd125e947
|
|||
92aeed4a00
|
|||
23cd994860
|
|||
5bbdb9ba12
|
|||
b69006cb54
|
|||
f0b59209e5
|
|||
061289816b | |||
e59900daaa
|
|||
92748c6c0f | |||
18a14635c0
|
|||
3cb403f6fa
|
|||
70c9d418ec
|
10
Dockerfile
10
Dockerfile
@ -1,10 +1,10 @@
|
||||
# the following version can be overridden at image build time with --build-arg
|
||||
ARG HUGO_VERSION=0.92.2
|
||||
ARG HUGO_VERSION=0.97.3
|
||||
# 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.17
|
||||
ARG GO_VERSION=1.18
|
||||
ARG ALPINE_VERSION=3.15
|
||||
|
||||
# ---
|
||||
@ -29,7 +29,7 @@ RUN apk add --update --no-cache \
|
||||
g++ \
|
||||
musl-dev \
|
||||
git && \
|
||||
go get github.com/magefile/mage
|
||||
go install github.com/magefile/mage@latest
|
||||
|
||||
# clone source from Git repo:
|
||||
RUN git clone \
|
||||
@ -42,7 +42,7 @@ RUN mage -v hugo && mage install
|
||||
|
||||
# fix potential stack size problems on Alpine
|
||||
# https://github.com/microsoft/vscode-dev-containers/blob/fb63f7e016877e13535d4116b458d8f28012e87f/containers/hugo/.devcontainer/Dockerfile#L19
|
||||
RUN go get github.com/yaegashi/muslstack && \
|
||||
RUN go install github.com/yaegashi/muslstack@latest && \
|
||||
muslstack -s 0x800000 /go/bin/hugo
|
||||
|
||||
# ---
|
||||
@ -54,7 +54,7 @@ ARG HUGO_VERSION
|
||||
# https://github.com/jgm/pandoc/releases
|
||||
ARG PANDOC_VERSION=2.17.1.1
|
||||
# https://github.com/sass/dart-sass-embedded/releases
|
||||
ARG DART_SASS_VERSION=1.49.7
|
||||
ARG DART_SASS_VERSION=1.49.9
|
||||
|
||||
LABEL version="${HUGO_VERSION}"
|
||||
LABEL repository="https://github.com/jakejarvis/hugo-docker"
|
||||
|
Reference in New Issue
Block a user