refactored Dockerfile + silenced curl
All checks were successful
continuous-integration/drone/push Build is passing

* no more progress bar y'all
This commit is contained in:
surtur 2020-03-05 00:17:19 +01:00
parent 7033200711
commit 6d5609dae9
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 3 deletions

@ -13,7 +13,7 @@ steps:
ENDPOINT:
from_secret: dockerhub_endpoint
commands:
- curl -X POST $ENDPOINT
- curl -s -X POST $ENDPOINT
---

@ -11,7 +11,8 @@ 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/* \
&& wget -q 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/*
RUN 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/