2021-01-26 09:45:33 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
. ./builder/common.sh
|
2021-02-22 09:25:02 +01:00
|
|
|
os="${1:-debian}"
|
|
|
|
os_codename="${2:-buster}"
|
2021-01-26 09:45:33 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
docker build --build-arg KASMVNC_PACKAGE_DIR="builder/build/${os_codename}" \
|
2021-01-28 10:10:46 +01:00
|
|
|
-t kasmvnctester_barebones_${os}:$os_codename \
|
2022-08-19 19:54:11 +02:00
|
|
|
-f builder/dockerfile.${os}_${os_codename}.barebones.deb.test .
|
2021-01-26 09:45:33 +01:00
|
|
|
echo
|
2022-08-19 19:54:11 +02:00
|
|
|
docker run -it -p "443:$VNC_PORT" --rm -e "VNC_USER=foo" -e "VNC_PW=foobar" \
|
|
|
|
-e "VNC_PORT=$VNC_PORT" \
|
2021-02-28 08:48:17 +01:00
|
|
|
kasmvnctester_barebones_${os}:$os_codename
|