From 34096b1f132b2d9b1bd07a49a859f272ddf75b25 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 24 Jul 2018 15:24:37 -0500 Subject: [PATCH] docker + user entry --- docker-entrypoint.sh | 3 +-- user-entrypoint.sh | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 docker-entrypoint.sh create mode 100755 user-entrypoint.sh diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh old mode 100644 new mode 100755 index 5ac10d8..92dd4b7 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 "$@" diff --git a/user-entrypoint.sh b/user-entrypoint.sh new file mode 100755 index 0000000..5fc4448 --- /dev/null +++ b/user-entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exec "$@"