mirror of
https://github.com/dockersrc/go
synced 2026-07-14 23:45:58 -04:00
5cf5189b5d
Build and Push / build (push) Failing after 2s
__setup_mta calls __find_replace on /etc/ssmtp/revaliases which returns 1 when the symlink it creates is broken. With set -o pipefail active the non-zero return kills the entire entrypoint before any command can run. ssmtp is not installed in this image (not in PACK_LIST) and email delivery is not a feature of the Go developer image, so the MTA setup failure is irrelevant. Guard the call with || true so initialization continues regardless. - rootfs/usr/local/bin/entrypoint.sh: __setup_mta || true (non-fatal) rootfs/usr/local/bin/entrypoint.sh