diff --git a/Dockerfile b/Dockerfile index e35694c..1894d07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,14 +9,16 @@ FROM ubuntu:24.04 # Install packages required to run the tests: RUN apt-get update \ - && apt-get install -y apt-utils \ - && apt-get install -y \ + && apt-get install --yes --no-install-recommends \ + ca-certificates \ curl \ jq \ make \ perl \ xz-utils \ - && true + && apt-get purge --auto-remove -y \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* # Install a specific version of shellcheck: RUN curl -sSOL https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.x86_64.tar.xz \ diff --git a/bin/run-in-docker.sh b/bin/run-in-docker.sh index 15d478a..af248fe 100755 --- a/bin/run-in-docker.sh +++ b/bin/run-in-docker.sh @@ -39,7 +39,6 @@ docker build --rm -t exercism/yamlscript-test-runner . docker run \ --rm \ --network none \ - --read-only \ --mount type=bind,src="${solution_dir}",dst=/solution \ --mount type=bind,src="${output_dir}",dst=/output \ --mount type=tmpfs,dst=/tmp \