diff --git a/archlinux/README.md b/archlinux/README.md index 90783b130..0dbc60017 100644 --- a/archlinux/README.md +++ b/archlinux/README.md @@ -24,8 +24,8 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`latest`, `base`, `base-20220424.0.54084`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/8b4b8fc6d7311e9cc080c8e90cb8d87a3dd8ddb7/Dockerfile.base) -- [`base-devel`, `base-devel-20220424.0.54084`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/8b4b8fc6d7311e9cc080c8e90cb8d87a3dd8ddb7/Dockerfile.base-devel) +- [`latest`, `base`, `base-20220501.0.54834`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/0c48fcb005b8c16e79bfab9f7fb5aa53582284e0/Dockerfile.base) +- [`base-devel`, `base-devel-20220501.0.54834`](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/0c48fcb005b8c16e79bfab9f7fb5aa53582284e0/Dockerfile.base-devel) # Quick reference (cont.) diff --git a/clearlinux/README.md b/clearlinux/README.md index 2098ef001..3fff23b2d 100644 --- a/clearlinux/README.md +++ b/clearlinux/README.md @@ -24,7 +24,7 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`latest`, `base`](https://github.com/clearlinux/docker-brew-clearlinux/blob/fd62058660cf7853178abe4017b2944de7d0e0b4/Dockerfile) +- [`latest`, `base`](https://github.com/clearlinux/docker-brew-clearlinux/blob/4ae0f2d575e94285a266cdc4fbe3d26dac25fd9f/Dockerfile) # Quick reference (cont.) diff --git a/mono/README.md b/mono/README.md index cb56701b1..a7f82011f 100644 --- a/mono/README.md +++ b/mono/README.md @@ -59,30 +59,22 @@ Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET # How to use this image -This image will run stand-alone Mono console apps. - -## Create a `Dockerfile` in your Mono app project - -This example Dockerfile will run an executable called `TestingConsoleApp.exe`. +To run a pre-built .exe file with the Mono image, use the following commands: ```dockerfile -FROM mono:3.10-onbuild -CMD [ "mono", "./TestingConsoleApp.exe" ] +FROM mono:latest +RUN mkdir /opt/app +COPY HelloWorld.exe /opt/app +CMD ["mono", "/opt/app/HelloWorld.exe"] ``` -Place this file in the root of your app, next to the `.sln` solution file. Modify the exectuable name to match what you want to run. - -This image includes `ONBUILD` triggers that adds your app source code to `/usr/src/app/source`, restores NuGet packages and compiles the app, placing the output in `/usr/src/app/build`. - -With the Dockerfile in place, you can build and run a Docker image with your app: +You can build and run the Docker Image as shown in the following example: ```console -$ docker build -t my-app . -$ docker run my-app +docker build -t monoapp . +docker run -it --rm monoapp ``` -You should see any output from your app now. - # Credits This Docker image is provided by Xamarin, for users of the Mono Project. diff --git a/sl/README.md b/sl/README.md index b02a0a9f0..8880a2424 100644 --- a/sl/README.md +++ b/sl/README.md @@ -24,7 +24,7 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`7`, `latest`](https://github.com/scientificlinux/sl-docker/blob/9f6a570e6d5b69fec17584021ff21b08d2f0baa5/sl7/Dockerfile) +- [`7`, `latest`](https://github.com/scientificlinux/sl-docker/blob/8f3eb4a3cad836f19d08389e245810d18262a0ae/sl7/Dockerfile) # Quick reference (cont.)