[WIP] fixing DockerHub build failing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-03-04 23:18:55 +01:00
parent 56b9b305af
commit 7033200711
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -11,8 +11,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
RUN pacman -Syu --noconfirm --needed wget tar git \
&& pacman -Scc \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
RUN wget https://github.com/gohugoio/hugo/releases/download/v0.66.0/hugo_extended_0.66.0_Linux-64bit.tar.gz -O hugo.tgz \
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \
&& wget -q 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 && rm -v hugo.tgz README.md LICENSE \
&& mv -v hugo /usr/local/bin/