Files
KasmVNC/builder
Dmitry Maksyoma 59382451dc Deb: build-deb now builds a .deb for Ubuntu 18
It builds the builder image first, then proceeeds to building .deb
inside it, and the result is put into the parent (../) directory.
2021-01-07 21:57:53 +13:00
..
2020-09-20 12:16:44 +00:00

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