Skip to content

Commit

Permalink
[#262] Added additional flags to docker run command;
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucas9 committed Aug 14, 2024
1 parent 63a9183 commit 55b06ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export BASE_DIR=$(cd `dirname $SCRIPT_DIR`/.. && pwd)
export DFLAGS="docker run --rm -it"

DFLAGS="docker run --rm -it -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -u $(id -u $(stat -c '%U' $SCRIPT_DIR/env.sh)):$(getent group $(stat -c '%G' $SCRIPT_DIR/env.sh) | cut -d: -f3)"

DBOX="ivvitc/cryptolib:20240814"

0 comments on commit 55b06ee

Please sign in to comment.