mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-26 16:48:55 +01:00
.. | ||
startup | ||
build_and_deploy_kasm.sh | ||
build-deb | ||
build-deb-inside-docker | ||
build-tarball | ||
build.sh | ||
dockerfile.centos7.build | ||
dockerfile.debian10.build | ||
dockerfile.ubuntu1604.build | ||
dockerfile.ubuntu1804.build | ||
dockerfile.ubuntu1804.deb.build | ||
dockerfile.ubuntu1804.deb.test | ||
dockerfile.ubuntu1804.test | ||
dockerfile.ubuntu2004.build | ||
dockerfile.ubuntu2004.test | ||
README.md | ||
test-deb |
REQIUREMENTS
Docker CE
Each supported operating system has two dockerfiles, one for building and one for testing. This example is for building and testing Ubuntu 18.04 LTS
Build the docker image
cd /src_code_root
sudo docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
Run the builder
mkdir -p builder/build
sudo docker run -v /tmp:/build --rm kasmvncbuilder:18.04
cp /tmp/build/kasmvnc.ubuntu_18.04.tar.gz builder/build/
Build test desktop container
cd builder
sudo docker build -t kasmvnctester:18.04 -f dockerfile.ubuntu1804.test .
run an instance of the new destkop
sudo docker run -it -p 443:8443 --rm -e "VNC_USER=username" -e "VNC_PW=password123" kasmvnctester:18.04
open browser and point to https:///vnc.html The username and password were set in the docker run command