infra: image: create entrypoint script and put env sources in it
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 6m34s
Gentoo Utils / build (push) Successful in 1m35s

This commit is contained in:
2025-12-08 19:23:07 -06:00
parent 35b4a15578
commit 52328f8f3a
2 changed files with 9 additions and 1 deletions

View File

@@ -31,4 +31,6 @@ USER gentooligan
WORKDIR /workspace
ENTRYPOINT /bin/bash
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]

6
.docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
source /etc/profile
source /lib/gentoo/functions.sh
exec "$@"