fix missing lib
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 24s

This commit is contained in:
Paolo Asperti 2024-05-08 22:16:38 +02:00
parent 9fc98a1fd4
commit 26a777f4df
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -9,7 +9,7 @@ RUN \
URL=$(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets) && \ URL=$(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets) && \
echo "Downloading: ${URL}" && \ echo "Downloading: ${URL}" && \
wget "${URL}" -O - | tar xzv -C /tmp wget "${URL}" -O - | tar xzv -C /tmp
##### final image ##### final image
@ -19,6 +19,6 @@ COPY --from=prep /tmp/hugo /usr/local/bin/hugo
RUN \ RUN \
apk --no-cache upgrade && \ apk --no-cache upgrade && \
apk --no-cache add gcompat apk --no-cache add gcompat libstdc++
ENTRYPOINT [ "/usr/local/bin/hugo" ] ENTRYPOINT [ "/usr/local/bin/hugo" ]