Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T13:14:27.000Z (over 2 years ago)
- Last Synced: 2023-11-30T15:20:27.197Z (about 1 year 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
[![Build status](https://github.com/sankra/dotnet-script-docker/workflows/CI/badge.svg)](https://github.com/Sankra/dotnet-script-docker/actions) [![Pulls from DockerHub](https://img.shields.io/docker/pulls/hjerpbakk/dotnet-script.svg)](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`.