KasmVNC/builder/test-deb

23 lines
676 B
Plaintext
Raw Normal View History

2021-01-07 11:28:58 +01:00
#!/bin/bash
set -e
2022-08-19 19:54:11 +02:00
cd "$(dirname "$0")/.."
. ./builder/process_test_options.sh
2022-08-19 19:54:11 +02:00
. ./builder/os_ver_cli.sh
. ./builder/common.sh
2021-01-07 11:28:58 +01:00
2022-08-19 19:54:11 +02:00
tester_image="builder/kasmvnctester_${os}:$os_codename${build_tag_for_images}"
docker build --build-arg KASMVNC_PACKAGE_DIR="builder/build/${os_codename}" \
--build-arg BUILD_DEBIAN_REVISION="$build_debian_revision" \
-t "$tester_image" \
2022-08-19 19:54:11 +02:00
-f "builder/dockerfile.${os}_${os_codename}${build_tag}.deb.test" .
2022-08-19 19:54:11 +02:00
docker run -it -p "443:$VNC_PORT" --rm \
-e KASMVNC_VERBOSE_LOGGING=$KASMVNC_VERBOSE_LOGGING \
-e "VNC_USER=foo" -e "VNC_PW=foobar" \
2022-08-19 19:54:11 +02:00
-e "VNC_PORT=$VNC_PORT" \
$entrypoint_executable \
"$tester_image" \
$entrypoint_args