Run update.sh
This commit is contained in:
parent
1f99482483
commit
593ef36520
|
|
@ -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.)
|
||||
|
||||
|
|
|
|||
|
|
@ -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.)
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue