2021-01-07 11:28:58 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
2021-01-19 10:44:32 +01:00
|
|
|
. ./os_ver_cli.sh
|
2021-01-07 11:28:58 +01:00
|
|
|
|
2021-09-07 14:11:21 +02:00
|
|
|
tester_image=kasmvnctester_${os}:$os_codename${build_tag_for_images}
|
2021-01-28 10:10:46 +01:00
|
|
|
docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os_codename}" \
|
2021-09-07 14:11:21 +02:00
|
|
|
--build-arg BUILD_DEBIAN_REVISION="$build_debian_revision" \
|
|
|
|
-t "$tester_image" \
|
|
|
|
-f dockerfile.${os}_${os_codename}${build_tag}.deb.test .
|
2021-02-28 09:21:49 +01:00
|
|
|
docker run -it -p 443:8443 --rm \
|
|
|
|
-e KASMVNC_VERBOSE_LOGGING=$KASMVNC_VERBOSE_LOGGING \
|
|
|
|
-e "VNC_USER=foo" -e "VNC_PW=foobar" \
|
2021-09-07 14:11:21 +02:00
|
|
|
"$tester_image"
|