hugoci/Dockerfile
2023-07-26 15:35:54 +02:00

9 lines
No EOL
409 B
Docker

FROM docker.io/alpine:latest
ARG HUGO_VERSION
RUN apk add --no-cache wget tar git openssh rsync
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