status-desktop/build-linux.sh
Jakub Sokołowski b3625cceed
ci: upgrade docker image to Ubuntu 20.04
Ubuntu 18.04 LTS support has ended on the 31st of May 2023. It's about
time we upgraded to 20.04, which uses Glibc `2.31` instead of `2.27`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-07-03 20:50:02 +02:00

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.3.0-qt5.15.2 \
./docker-linux-app-image.sh