From 296aaed8b37a09646b996cc6a2d63b3e84953994 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 9 Dec 2021 16:46:09 +0100 Subject: [PATCH] Volume mount run-tests.sh (#64) --- .dockerignore | 1 + bin/run-tests-in-docker.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.dockerignore b/.dockerignore index ba6615e..3eb8fac 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,4 +6,5 @@ Dockerfile bin/run-in-docker.sh bin/run-tests-in-docker.sh +bin/run-tests.sh tests/ diff --git a/bin/run-tests-in-docker.sh b/bin/run-tests-in-docker.sh index 7c45972..ee2fa29 100755 --- a/bin/run-tests-in-docker.sh +++ b/bin/run-tests-in-docker.sh @@ -22,6 +22,7 @@ docker run \ --read-only \ --mount type=bind,src="${PWD}/tests",dst=/opt/test-runner/tests \ --mount type=tmpfs,dst=/tmp \ + --volume "${PWD}/bin/run-tests.sh:/opt/test-runner/bin/run-tests.sh" \ --workdir /opt/test-runner \ --entrypoint /opt/test-runner/bin/run-tests.sh \ exercism/test-runner