2020-03-02 00:42:59 +01:00
|
|
|
FROM archlinux
|
|
|
|
RUN pacman -Syu --noconfirm --needed wget tar git \
|
|
|
|
&& pacman -Scc \
|
|
|
|
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
|
2020-03-03 23:35:08 +01:00
|
|
|
&& wget https://github.com/gohugoio/hugo/releases/download/v0.66.0/hugo_extended_0.66.0_Linux-64bit.tar.gz -O hugo.tgz \
|
2020-03-02 00:42:59 +01:00
|
|
|
&& tar xfv hugo.tgz \
|
|
|
|
&& mv -v hugo /usr/local/bin/ && rm -v hugo.tgz README.md LICENSE
|