Compare commits

...

2 Commits

Author SHA1 Message Date
9771afebb0 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
2024-09-29 22:53:43 -07:00
23516993e5 Dockerfile git addition 2024-09-29 21:51:31 -07:00
2 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@
FROM alpine:latest
RUN apk --update add sudo python3 openssl ca-certificates openssh-client rsync && \
RUN apk --update add sudo python3 git openssl ca-certificates openssh-client rsync && \
apk --update add --virtual build-dependencies \
python3-dev libffi-dev openssl-dev build-base \
ansible py3-ansible-lint && \

View File

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