Public Repository

Last pushed: a year ago
Short Description
Builds four versions (Linux and Windows, CLR/Mono and CoreCLR) of an ASP.NET app.
Full Description

Arguments are specified through the $PACKAGE environment variable and the /output and /app mounted volumes. The $PACKAGE variable controls what the name of the build NuGet package will be.

Four files will be placed in /output:

Artifact Version
$PACKAGE-linux-coreclr.x64.zip Linux CoreCLR (.NET 5.0)
$PACKAGE-mono.zip Mono (.NET 4.5.1)
$PACKAGE-win-clr.x64.zip Windows CLR (.NET 4.5.1)
$PACKAGE-win-coreclr.x64.zip Windows CoreCLR (.NET 5.0)

Additionally, it can be used to build a Docker image from the Dockerfile in the source directory. The program does not impose any constraints upon this Dockerfile.

Artifact Version
$PACKAGE-docker.tar Docker

Example Usage

docker run --rm \
    -e PACKAGE=WebApplication \
    -v "$HOME/output":/output \
    -v "$PWD":/app:ro \
    rchowe/aspnet-build:1.0.0-rc1-update2

If you want to also build a Docker image.

docker run --rm \
    -e PACKAGE=WebApplication \
    -v "$HOME/output":/output \
    -v "$PWD":/app:ro \
    -v /var/run/docker.sock:/var/run/docker.sock \
    rchowe/aspnet-build:1.0.0-rc1-update2
Docker Pull Command
Owner
rchowe

Comments (0)