1
0
Fork 0

fix(hugo-adoc): add nodejs to the image
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 20s

This commit is contained in:
Sergio Talens-Oliag 2025-03-18 13:52:42 +01:00
parent d347a17b75
commit 57db7cbbff
Signed by: sto
GPG key ID: 821AEE0FD167FBDF

View file

@ -24,7 +24,13 @@ FROM asciidoctor/docker-asciidoctor:1.82
COPY --from=build /go/bin/hugo /usr/bin/hugo
RUN gem install --no-document asciidoctor-html5s &&\
apk update &&\
apk add --no-cache ca-certificates libc6-compat libstdc++ git &&\
apk add --no-cache \
ca-certificates \
git \
libc6-compat \
libstdc++ \
nodejs \
&&\
/usr/bin/hugo version &&\
rm -rf /var/cache/apk/*
# Expose port for live server