Skip to content

bin(run-in-docker, run-tests-in-docker): should pass --read-only to docker run #68

@ee7

Description

@ee7

# TODO: enable --read-only flag
# Run the Docker image using the settings mimicking the production environment
docker run \
--rm \
--network none \
--mount type=bind,src="${solution_dir}",dst=/solution \
--mount type=bind,src="${output_dir}",dst=/output \
--mount type=tmpfs,dst=/tmp \
exercism/zig-test-runner "${slug}" /solution /output

# TODO: enable --read-only flag
# Run the Docker image using the settings mimicking the production environment
docker run \
--rm \
--network none \
--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/zig-test-runner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions