docker-archlinux-hugo/Dockerfile
2020-03-02 00:42:59 +01:00

8 lines
369 B
Docker

FROM archlinux
RUN pacman -Syu --noconfirm --needed wget tar git \
&& pacman -Scc \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
&& wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.tar.gz -O hugo.tgz \
&& tar xfv hugo.tgz \
&& mv -v hugo /usr/local/bin/ && rm -v hugo.tgz README.md LICENSE