1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Run docker in privileged mode

From https://docs.docker.com/engine/reference/run/:

```
When the operator executes docker run --privileged, Docker will enable
access to all devices on the host as well as set some configuration in
AppArmor or SELinux to allow the container nearly all the same access to
the host as processes running outside containers on the host.
```

Regards https://github.com/profanity-im/profanity/issues/1294
This commit is contained in:
Michael Vetter 2020-03-30 14:36:10 +02:00
parent e88113afa1
commit 8386cac8e7

View File

@ -36,7 +36,7 @@ before_install:
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
docker run -it profanity ./ci-build.sh;
docker run -it --privileged profanity ./ci-build.sh;
fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
./ci-build.sh;