ci: build-oci-image: create entrypoint script and put env sources in it

This commit is contained in:
2025-12-08 19:41:46 -06:00
parent 91389abcb9
commit 59c060df54
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 "$@"