aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dev.sh
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-09-20 22:39:28 -0700
committerGravatar MarkKoz <[email protected]>2019-09-20 22:39:28 -0700
commit00b7c8e52b7fdf55d886dbf2fff4e6144882640b (patch)
treec3a76bbaeb4c69f35b6d32522dee1bd55ad3e452 /scripts/dev.sh
parentLogin with v1 API (diff)
parentCI: use DockerHub container registry & remove login tasks (diff)
Merge branch 'ci' into research
Diffstat (limited to 'scripts/dev.sh')
-rwxr-xr-xscripts/dev.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh
index 097690b..8f5b24f 100755
--- a/scripts/dev.sh
+++ b/scripts/dev.sh
@@ -34,16 +34,17 @@ fi
# The volume is mounted to same the path in the container as the source
# directory on the host to ensure coverage can find the source files.
docker run \
- -td \
+ --tty \
+ --detach \
--name snekbox_test \
--privileged \
--network host \
- -h pdsnk-dev \
+ --hostname pdsnk-dev \
-e PYTHONDONTWRITEBYTECODE=1 \
-e PIPENV_PIPFILE="/snekbox/Pipfile" \
-e ENV="${PWD}/scripts/.profile" \
- -v "${PWD}":"${PWD}" \
- -w "${PWD}"\
+ --volume "${PWD}":"${PWD}" \
+ --workdir "${PWD}"\
--entrypoint /bin/ash \
pythondiscord/snekbox-venv:dev \
>/dev/null \