diff options
Diffstat (limited to 'infra/nncc/command/docker-shell')
-rw-r--r-- | infra/nncc/command/docker-shell | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/infra/nncc/command/docker-shell b/infra/nncc/command/docker-shell new file mode 100644 index 000000000..7f8449855 --- /dev/null +++ b/infra/nncc/command/docker-shell @@ -0,0 +1,11 @@ +#!/bin/bash + +import "docker.configuration" + +DOCKER_RUN_OPTS+=" -it" +docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME /bin/bash +EXITCODE=$? + +docker_cleanup + +exit $EXITCODE |