mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +01:00
14 lines
429 B
Bash
Executable File
14 lines
429 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
sudo docker build -t debbuilder_ubuntu:18.04 -f \
|
|
builder/dockerfile.ubuntu1804.deb.build .
|
|
|
|
deb_output_dir=$(cd .. && echo $PWD)
|
|
L_UID=$(id -u) #Ubuntu already has UID env var, but this should work on all Linix systems
|
|
L_GID=$(id -g)
|
|
sudo 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'
|