Skip to content

Missing hugo_extended images for versions >= 0.109.0

It appears that hugo_extended container images failed to build for a while. For example, the latest version (0.111.2 just now) has not been published due to errors in the pipeline run:

...
#11 1.657 + hugo version
#11 1.658 Error loading shared library libresolv.so.2: No such file or directory (needed by /usr/bin/hugo)
#11 1.660 Error relocating /usr/bin/hugo: __res_search: symbol not found
------
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
Dockerfile:32
--------------------
  31 |     COPY --from=0 /usr/bin/hugo /usr/bin
  32 | >>> RUN set -eux && \
  33 | >>>     case ${HUGO} in \
  34 | >>>       *_extended) \
  35 | >>>         apk add --update --no-cache libc6-compat tzdata libstdc++ git && \
  36 | >>>         rm -rf /var/cache/apk/* ;; \
  37 | >>>     esac && \
  38 | >>>     hugo version
  39 |     EXPOSE 1313
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux &&     case ${HUGO} in       *_extended)         apk add --update --no-cache libc6-compat tzdata libstdc++ git &&         rm -rf /var/cache/apk/* ;;     esac &&     hugo version" did not complete successfully: exit code: 127
...

It would be fantastic if the build process could be fixed, so that up-to-date versions of hugo are published again. Thank you!