You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
256 B
Docker
11 lines
256 B
Docker
2 years ago
|
FROM registry.fk.jochum.dev/docker_hub_cache/library/golang:1.19
|
||
|
|
||
|
ARG HUGO_VERSION
|
||
|
|
||
|
ENV GOPATH=/go
|
||
|
|
||
|
RUN set -ex; \
|
||
|
git clone https://github.com/gohugoio/hugo.git && \
|
||
|
cd hugo && \
|
||
|
git checkout "$HUGO_VERSION" && \
|
||
|
go install --tags extended
|