1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 18:18:52 +00:00
OpenMW/docker/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
619 B
Markdown
Raw Normal View History

2021-10-08 16:36:16 +00:00
# Build OpenMW using Docker
## Build Docker image
Replace `LINUX_VERSION` with the Linux distribution you wish to use.
```
docker build -f Dockerfile.LINUX_VERSION -t openmw.LINUX_VERSION .
```
## Build OpenMW using Docker
Labeling systems like SELinux require that proper labels are placed on volume content mounted into a container.
Without a label, the security system might prevent the processes running inside the container from using the content.
The Z option tells Docker to label the content with a private unshared label.
```
docker run -v /path/to/openmw:/openmw:Z -e NPROC=2 -it openmw.LINUX_VERSION
```