docker-archlinux-hugo/Dockerfile
surtur d793224172
All checks were successful
continuous-integration/drone/push Build is passing
bumped Hugo version to target the latest - 0.66.0
2020-03-03 23:35:08 +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.66.0/hugo_extended_0.66.0_Linux-64bit.tar.gz -O hugo.tgz \
&& tar xfv hugo.tgz \
&& mv -v hugo /usr/local/bin/ && rm -v hugo.tgz README.md LICENSE