2021-01-26 09:45:33 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
2021-02-22 09:25:02 +01:00
|
|
|
os="${1:-debian}"
|
|
|
|
os_codename="${2:-buster}"
|
2021-01-26 09:45:33 +01:00
|
|
|
|
2021-01-28 10:10:46 +01:00
|
|
|
docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os_codename}" \
|
|
|
|
-t kasmvnctester_barebones_${os}:$os_codename \
|
|
|
|
-f dockerfile.${os}_${os_codename}.barebones.deb.test .
|
2021-01-26 09:45:33 +01:00
|
|
|
echo
|
|
|
|
echo "You will be asked to set password. User name is docker."
|
2021-02-28 08:48:17 +01:00
|
|
|
docker run -it -p 443:8443 --rm -e "VNC_USER=foo" -e "VNC_PW=foobar" \
|
|
|
|
kasmvnctester_barebones_${os}:$os_codename
|