mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-26 08:39:12 +01:00
16 lines
384 B
Bash
Executable File
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/
|