diff options
author | Simon Steinbeiß <ochosi@xfce.org> | 2022-03-04 02:53:38 +0000 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2022-03-04 02:53:38 +0000 |
commit | de6137361ee3bb8a8b398a349a3cdab4f297c116 (patch) | |
tree | 24fca71549e19ecebe3445cfea49985e0330f3ea | |
parent | 2ae47732a54ebfdbfa9c8e938e6e3be28c204e73 (diff) | |
download | xfce4-dev-tools-master.tar.gz |
If you're using SELinux locally you will have to pass the "z" parameter
to make the volume mounted in the container readable.
-rwxr-xr-x | helpers/xfce-build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/xfce-build b/helpers/xfce-build index 7fd49bf..cd26904 100755 --- a/helpers/xfce-build +++ b/helpers/xfce-build @@ -19,7 +19,8 @@ docker_pull () { docker_run () { # Run the build in the docker container - docker run --rm -u $(id -u ${USER}):$(id -g ${USER}) --volume $VOLUME:/tmp --env CFLAGS="${CFLAGS}" --env CONTAINER=$CONTAINER --env VERSION=$VERSION $CONTAINER:$VERSION /bin/bash -c "${BUILD_CMD}" + # That z parameter for volume is needed when SELinux is enabled + docker run --rm -u $(id -u ${USER}):$(id -g ${USER}) --volume $VOLUME:/tmp:z --env CFLAGS="${CFLAGS}" --env CONTAINER=$CONTAINER --env VERSION=$VERSION $CONTAINER:$VERSION /bin/bash -c "${BUILD_CMD}" } # Parse the commandline arguments |