KasmVNC/builder/README.md

36 lines
900 B
Markdown
Raw Normal View History

## REQIUREMENTS
2020-09-20 14:16:44 +02:00
Docker CE
2021-01-10 20:03:13 +01:00
# Build the www webpack
```
2021-01-14 09:25:41 +01:00
docker build -t kasmweb/www -f builder/dockerfile.www.build .
docker run -it --rm -v $PWD/builder/www:/build kasmweb/www:latest
2021-01-10 20:03:13 +01:00
```
2020-09-20 14:16:44 +02:00
# build the docker image
```
2020-09-20 14:16:44 +02:00
cd /src_code_root
2021-01-14 09:25:41 +01:00
docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
```
2020-09-20 14:16:44 +02:00
### Run the builder
```sh
mkdir -p builder/build
2021-01-14 09:25:41 +01:00
docker run -v /tmp:/build --rm kasmvncbuilder:18.04
cp /tmp/build/kasmvnc.ubuntu_18.04.tar.gz builder/build/
```
2020-09-20 14:16:44 +02:00
### Build test desktop container
```sh
2020-09-20 14:16:44 +02:00
cd builder
2021-01-14 09:25:41 +01:00
docker build -t kasmvnctester:18.04 -f dockerfile.ubuntu1804.test .
```
### run an instance of the new destkop
```sh
2021-01-14 09:25:41 +01:00
docker run -it -p 443:8443 --rm -e "VNC_USER=username" -e "VNC_PW=password123" kasmvnctester:18.04
```
2020-09-20 14:16:44 +02:00
open browser and point to https://<ip-address>/vnc.html
The username and password were set in the docker run command