KasmVNC/builder/build-deb

14 lines
419 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
cd "$(dirname "$0")/.."
2021-01-14 09:25:41 +01:00
docker build -t debbuilder_ubuntu:18.04 -f \
builder/dockerfile.ubuntu1804.deb.build .
deb_output_dir=$(cd .. && echo $PWD)
2021-01-10 17:24:09 +01:00
L_UID=$(id -u) #Ubuntu already has UID env var, but this should work on all Linix systems
L_GID=$(id -g)
2021-01-14 09:25:41 +01:00
docker run --rm -v "$deb_output_dir":/src --user $L_UID:$L_GID debbuilder_ubuntu:18.04 /bin/bash -c '/src/*/builder/build-deb-inside-docker'