mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
37c51cc25f
Make the docker-related logic for doing a local packaged build on Linux match with the Jenkins CI build for Linux. Also fix the problems with packaged builds for Linux (local or CI) where gstreamer errors were displayed in the terminal shortly after app start/login and there was no sound output.
18 lines
510 B
Bash
Executable File
18 lines
510 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.0.2 \
|
|
./docker-linux-app-image.sh
|