KasmVNC/builder/build-tarball
2021-01-10 16:24:09 +00:00

16 lines
384 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")/.."
sudo docker pull ubuntu:18.04
sudo docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
mkdir -p builder/build
sudo docker run -v /tmp:/build --rm kasmvncbuilder:18.04
L_GID=$(id -g)
L_UID=$(id -u)
sudo chown $L_UID:$L_GID /tmp/kasmvnc.ubuntu_18.04.tar.gz
mv /tmp/kasmvnc.ubuntu_18.04.tar.gz $PWD/builder/build/