2021-02-05 11:49:47 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
cd "$(dirname "$0")/.."
|
2023-01-25 05:51:58 +01:00
|
|
|
. ./builder/process_test_options.sh
|
2022-08-19 19:54:11 +02:00
|
|
|
. ./builder/os_ver_cli.sh
|
|
|
|
. ./builder/common.sh
|
2021-02-05 11:49:47 +01:00
|
|
|
|
|
|
|
echo kasmvnctester_${os}:$os_codename
|
|
|
|
docker build --build-arg \
|
2022-08-19 19:54:11 +02:00
|
|
|
KASMVNC_PACKAGE_DIR="builder/build/${os}_${os_codename}" \
|
2021-02-05 11:49:47 +01:00
|
|
|
-t kasmvnctester_${os}:$os_codename \
|
2022-08-19 19:54:11 +02:00
|
|
|
-f builder/dockerfile.${os}_${os_codename}.rpm.test .
|
2021-02-28 09:21:49 +01:00
|
|
|
|
2022-08-19 19:54:11 +02:00
|
|
|
docker run -it -p "443:$VNC_PORT" --rm \
|
2021-02-28 09:21:49 +01:00
|
|
|
-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" \
|
2023-01-25 05:51:58 +01:00
|
|
|
$entrypoint_executable \
|
|
|
|
kasmvnctester_${os}:$os_codename \
|
|
|
|
$entrypoint_args
|