Mono console apps with an additional feature to make possible to transform application configuration
1.7K
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.
FROM flexberry/mono:latest
COPY /app /app
WORKDIR /app
RUN mono MyConsoleApp.exe
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
Content type
Image
Digest
Size
225.6 MB
Last updated
over 5 years ago
docker pull flexberry/mono