mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 23:53:24 +01:00
59382451dc
It builds the builder image first, then proceeeds to building .deb inside it, and the result is put into the parent (../) directory. |
||
---|---|---|
.. | ||
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.test | ||
dockerfile.ubuntu2004.build | ||
dockerfile.ubuntu2004.test | ||
README.md |
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