ci: build-oci-image: create entrypoint script and put env sources in it
This commit is contained in:
@@ -31,4 +31,6 @@ USER gentooligan
|
|||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
ENTRYPOINT /bin/bash
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
|
CMD ["/bin/bash"]
|
||||||
|
|||||||
6
.docker/entrypoint.sh
Executable file
6
.docker/entrypoint.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
|
||||||
|
source /etc/profile
|
||||||
|
source /lib/gentoo/functions.sh
|
||||||
|
exec "$@"
|
||||||
Reference in New Issue
Block a user