aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-07-30 15:31:19 -0700
committerGravatar MarkKoz <[email protected]>2019-07-30 15:33:08 -0700
commit2f864a14a3f4d49d11801af45946dbd81e3e343f (patch)
treec04eb746e13a4288e1f00501f5a2e1e1c5fd60e6 /scripts
parentLog into Docker Hub before building images in test job (diff)
Add comments to Azure Pipelines YAML
* Replace some shorthand Docker command options with their full names for clarity
Diffstat (limited to 'scripts')
-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 \