Files
go/rootfs
jason 5cf5189b5d
Build and Push / build (push) Failing after 2s
🐛 Fix entrypoint crash on __setup_mta ssmtp failure 🐛
__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
2026-06-27 19:12:24 -04:00
..