KasmVNC/builder/build-tarball

23 lines
528 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
build_www_dir() {
2021-01-14 09:25:41 +01:00
docker build -t kasmweb/www -f builder/dockerfile.www.build .
2021-01-18 20:46:24 +01:00
docker run --rm -v $PWD/builder/www:/build kasmweb/www:latest
}
cd "$(dirname "$0")/.."
build_www_dir
2021-01-14 09:25:41 +01:00
docker pull ubuntu:18.04
docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
mkdir -p builder/build
2021-01-14 09:25:41 +01:00
docker run -v /tmp:/build --rm kasmvncbuilder:18.04
2021-01-10 17:24:09 +01:00
L_GID=$(id -g)
L_UID=$(id -u)
2021-01-14 09:25:41 +01:00
chown $L_UID:$L_GID /tmp/kasmvnc.ubuntu_18.04.tar.gz
2021-01-10 17:24:09 +01:00
mv /tmp/kasmvnc.ubuntu_18.04.tar.gz $PWD/builder/build/