Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 --version

1.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`.