Sign inSign up

flexberry/mono

By flexberry

Updated over 5 years ago

Mono console apps with an additional feature to make possible to transform application configuration

Image
0

1.7K

flexberry/mono repository overview

How to use this image

This image flexberry/mono is based on official mono image and will run stand-alone Mono console apps with an additional feature to make possible to transform application configuration using environment variables.

Create a Dockerfile in your Mono app project

FROM flexberry/mono:latest

COPY /app /app
WORKDIR /app

RUN mono MyConsoleApp.exe

How to use config transform

Ensure XMLTEMPLATES environment variable is set for best experience. configTransform.sh script searches for a substrings of declared pattern %%VariableName%% and replaces them with environmment variable values.

FROM flexberry/mono:latest

ENV XMLTEMPLATES="/app/MyConsoleApp.exe.config"

COPY test /app
WORKDIR /app

RUN mono MyConsoleApp.exe

Tag summary

Content type

Image

Digest

Size

225.6 MB

Last updated

over 5 years ago

docker pull flexberry/mono