mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Disable apparmor to use fuse
Necessary for an Ubuntu 16.04, Docker 17.09.0-ce host See https://github.com/moby/moby/issues/9448#issuecomment-289950103
This commit is contained in:
parent
38cbb42b58
commit
84508e91da
@ -615,7 +615,7 @@ build() {
|
|||||||
logInfo "Launching Docker container to compile sources..."
|
logInfo "Launching Docker container to compile sources..."
|
||||||
|
|
||||||
docker run --name "$DOCKER_CONTAINER_NAME" --rm \
|
docker run --name "$DOCKER_CONTAINER_NAME" --rm \
|
||||||
--cap-add SYS_ADMIN --device /dev/fuse \
|
--cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse \
|
||||||
-e "CC=${CC}" -e "CXX=${CXX}" \
|
-e "CC=${CC}" -e "CXX=${CXX}" \
|
||||||
-v "$(realpath "$SRC_DIR"):/keepassxc/src:ro" \
|
-v "$(realpath "$SRC_DIR"):/keepassxc/src:ro" \
|
||||||
-v "$(realpath "$OUTPUT_DIR"):/keepassxc/out:rw" \
|
-v "$(realpath "$OUTPUT_DIR"):/keepassxc/out:rw" \
|
||||||
|
Loading…
Reference in New Issue
Block a user