diff --git a/bin/run-in-docker.sh b/bin/run-in-docker.sh index 564d452..f36d258 100755 --- a/bin/run-in-docker.sh +++ b/bin/run-in-docker.sh @@ -33,10 +33,10 @@ mkdir -p "${output_dir}" docker build --rm -t exercism/test-runner . # Run the Docker image using the settings mimicking the production environment +# TODO: --read-only docker run \ --rm \ --network none \ - --read-only \ --mount type=bind,src="${input_dir}",dst=/solution \ --mount type=bind,src="${output_dir}",dst=/output \ --mount type=tmpfs,dst=/tmp \ diff --git a/bin/run-tests-in-docker.sh b/bin/run-tests-in-docker.sh index 7c45972..60effdc 100755 --- a/bin/run-tests-in-docker.sh +++ b/bin/run-tests-in-docker.sh @@ -16,10 +16,10 @@ docker build --rm -t exercism/test-runner . # Run the Docker image using the settings mimicking the production environment +# TODO: --read-only docker run \ --rm \ --network none \ - --read-only \ --mount type=bind,src="${PWD}/tests",dst=/opt/test-runner/tests \ --mount type=tmpfs,dst=/tmp \ --workdir /opt/test-runner \