18 lines
519 B
Bash
Executable File
18 lines
519 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script assumes $PWD is the same dir in which this script is located
|
|
|
|
# Helps avoid permissions problems with `jenkins` user in docker container when
|
|
# making a local packaged build
|
|
git clean -dfx
|
|
|
|
docker run -it --rm \
|
|
--cap-add SYS_ADMIN \
|
|
--security-opt apparmor:unconfined \
|
|
--device /dev/fuse \
|
|
-u jenkins:$(getent group $(whoami) | cut -d: -f3) \
|
|
-v "${PWD}:/status-desktop" \
|
|
-w /status-desktop \
|
|
statusteam/nim-status-client-build:1.2.0-qt5.15.2 \
|
|
./docker-linux-app-image.sh
|