status-node/build-linux.sh

18 lines
504 B
Bash
Raw Normal View History

2021-08-17 23:32:21 +00:00
#!/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-node" \
-w /status-node \
statusteam/nim-status-client-build:1.0.2 \
2021-08-17 23:32:21 +00:00
./docker-linux-app-image.sh