Installing standalonebinary for hugo to get latest version
All checks were successful
Build Ansible Image / build-ansible-image (push) Successful in 25s
Build Hugo Image / build-hugo-image (push) Successful in 9s
Build Ansible Image / push-to-docker-hub (push) Successful in 11s
Build Hugo Image / push-to-docker-hub (push) Successful in 13s

This commit is contained in:
shockrah 2024-09-29 22:53:43 -07:00
parent 23516993e5
commit 9771afebb0

View File

@ -1,6 +1,5 @@
FROM gitea/runner-images:ubuntu-latest FROM gitea/runner-images:ubuntu-latest
RUN apt-get update && \ RUN wget https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_0.135.0_linux-amd64.deb && \
apt-get install -y --no-install-recommends hugo && \ apt-get install -y ./hugo_0.135.0_linux-amd64.deb && \
rm -rf var/lib/{apt,dpkg,cache,log}/ rm -rf var/lib/{apt,dpkg,cache,log} hugo_0.135.0_linux-arm64.deb