This PR adds an image (-i) argument to the test-runner script for docker tester/Docker/runtest.sh.
The argument defaults to the previously hardcoded image tda283/tester:latest so there should be no breaking changes for any users.
With this change, students will be able to use the same script and toolchain even if they need a custom Dockerfile to build their compiler with another language och generation tool. It will also allow the use of a published docker image so that the user doesn't have to build the image on each computer they will be using.
The changes also introduce the possibility of splitting the currently quite large default image into several language-specific images to reduce download sizes as well as buildtimes.
This PR adds an image (
-i
) argument to the test-runner script for dockertester/Docker/runtest.sh
.The argument defaults to the previously hardcoded image
tda283/tester:latest
so there should be no breaking changes for any users.With this change, students will be able to use the same script and toolchain even if they need a custom Dockerfile to build their compiler with another language och generation tool. It will also allow the use of a published docker image so that the user doesn't have to build the image on each computer they will be using.
The changes also introduce the possibility of splitting the currently quite large default image into several language-specific images to reduce download sizes as well as buildtimes.