Skip to content

Commit

Permalink
Temporarily disable readonly file system
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Apr 16, 2021
1 parent 9f019e9 commit fe333c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/run-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion bin/run-tests-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fe333c4

Please sign in to comment.