https://github.com/hjerpbakk/dotnet-script-docker
Docker image containing the latest version of dotnet-script.
https://github.com/hjerpbakk/dotnet-script-docker
docker docker-image dotnet dotnet-script
Last synced: 3 months ago
JSON representation
Docker image containing the latest version of dotnet-script.
- Host: GitHub
- URL: https://github.com/hjerpbakk/dotnet-script-docker
- Owner: hjerpbakk
- License: mit
- Created: 2019-02-01T07:52:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T13:14:27.000Z (about 3 years ago)
- Last Synced: 2025-01-26T14:11:40.108Z (5 months ago)
- Topics: docker, docker-image, dotnet, dotnet-script
- Language: Shell
- Homepage: https://hjerpbakk.com/projects/
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-script Docker Image
[](https://github.com/Sankra/dotnet-script-docker/actions) [](https://hub.docker.com/r/hjerpbakk/dotnet-script/)
This is a [Docker image](https://hub.docker.com/r/hjerpbakk/dotnet-script/) containing the latest version of dotnet-script.
## Runing scripts
Example, shows the version of the dotnet script, 1.3.1 at the time of writing:
```shell
docker run --rm -it hjerpbakk/dotnet-script --version1.3.1
```Running the script `foo.csx` with one argument:
```shell
docker run --rm -it --volume="$PWD:/scripts:ro" hjerpbakk/dotnet-script foo.csx -- arg1
```For further information, see [dotnet-script's own readme](https://github.com/filipw/dotnet-script/blob/master/README.md).
## Building the image locally
Standing in this folder, use the following command to build the image locally:
```shell
docker build -t hjerpbakk/dotnet-script:tag .
```Where `:tag` is an optional version number, like `:1.3.1`.