mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Merge pull request #1047 from aidanhs/aphs-fix-dockerfile
Fix builds in Docker
This commit is contained in:
commit
7d6baf53fa
@ -23,10 +23,11 @@ RUN set -x \
|
||||
RUN set -x \
|
||||
&& add-apt-repository ppa:george-edison55/cmake-3.x
|
||||
|
||||
ENV QT_PPA=qt591
|
||||
ENV QT_VERSION=qt59
|
||||
|
||||
RUN set -x \
|
||||
&& add-apt-repository --yes ppa:beineri/opt-${QT_VERSION}-trusty
|
||||
&& add-apt-repository --yes ppa:beineri/opt-${QT_PPA}-trusty
|
||||
|
||||
|
||||
RUN set -x \
|
||||
|
@ -615,7 +615,7 @@ build() {
|
||||
logInfo "Launching Docker container to compile sources..."
|
||||
|
||||
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}" \
|
||||
-v "$(realpath "$SRC_DIR"):/keepassxc/src:ro" \
|
||||
-v "$(realpath "$OUTPUT_DIR"):/keepassxc/out:rw" \
|
||||
|
Loading…
Reference in New Issue
Block a user