2023-05-16 19:37:10 +02:00
|
|
|
FROM docker.io/alpine:latest
|
2023-07-26 15:35:54 +02:00
|
|
|
ARG HUGO_VERSION
|
2024-02-16 20:39:12 +01:00
|
|
|
RUN apk add --no-cache wget tar git openssh rsync pnpm
|
2023-07-26 15:35:54 +02:00
|
|
|
|
|
|
|
RUN wget https://github.com/gohugoio/hugo/releases/latest/download/hugo_extended_${HUGO_VERSION}_linux_amd64.tar.gz
|
|
|
|
RUN tar -xf hugo_extended_${HUGO_VERSION}_linux_amd64.tar.gz
|
|
|
|
RUN ls -lah
|
|
|
|
RUN chmod +x hugo_extended_${HUGO_VERSION}_linux_amd64
|
|
|
|
RUN mv hugo_extended_${HUGO_VERSION}_linux_amd64 /usr/local/bin/hugo
|