fix: add gcompat to the alpine image to fix libc
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2023-06-23 09:13:04 +02:00
parent 79c3abf6cc
commit ca099b6560
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -17,7 +17,7 @@ ENV HUGO_ENV=production
COPY overlay/ / COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps tar curl && \ RUN apk add --update --no-cache --virtual .build-deps tar curl && \
apk add --update --no-cache libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make asciidoctor && \ apk add --update --no-cache gcompat libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make asciidoctor && \
echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \ echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \
curl -SsfL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \ curl -SsfL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \
tar xz -C /usr/local/bin hugo && \ tar xz -C /usr/local/bin hugo && \