hugo-alpine-ext/Dockerfile
baalajimaestro be109b8a5e
Add initial Dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-24 21:30:43 +05:30

13 lines
398 B
Docker

FROM alpine:latest
RUN apk add --no-cache go libc6-compat
ARG HUGO_VERSION
RUN wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
tar -xf "hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
mv ./hugo /usr/bin/hugo && \
rm -rf "hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz"
CMD ["/usr/bin/hugo"]