Docker: use a entrypoint script (#1227)

In favor of `/etc/bash.bashrc`, which is only read for interactive
shells.
This commit is contained in:
Kleis Auke Wolthuizen
2023-07-06 16:44:01 +02:00
committed by GitHub
parent 3bde060365
commit e28e47659c
5 changed files with 18 additions and 10 deletions

7
docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
# Set-up PATH and other environment variables
EMSDK_QUIET=1 source /emsdk/emsdk_env.sh
exec "$@"