docker + user entry

This commit is contained in:
Michael Bradley, Jr 2018-07-24 15:24:37 -05:00
parent 65c4c9950b
commit 34096b1f13
2 changed files with 4 additions and 2 deletions

3
docker-entrypoint.sh Normal file → Executable file
View File

@ -1,7 +1,6 @@
#!/bin/bash
. /home/embark/.bash_env
export BASH_ENV=/home/embark/.bash_env
chmod a+w /dev/std*
exec su-exec embark "$@"
exec su-exec embark user-entrypoint.sh "$@"

3
user-entrypoint.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
exec "$@"