summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/xfce-build3
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