This is a Docker image containing the latest version of dotnet-script.
Example, shows the version of the dotnet script, 1.3.1 at the time of writing:
docker run --rm -it hjerpbakk/dotnet-script --version
1.3.1
Running the script foo.csx
with one argument:
docker run --rm -it --volume="$PWD:/scripts:ro" hjerpbakk/dotnet-script foo.csx -- arg1
For further information, see dotnet-script's own readme.
Standing in this folder, use the following command to build the image locally:
docker build -t hjerpbakk/dotnet-script:tag .
Where :tag
is an optional version number, like :1.3.1
.