KasmVNC/builder/test-deb-barebones

20 lines
547 B
Plaintext
Raw Normal View History

#!/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/common.sh
os="${1:-debian}"
os_codename="${2:-buster}"
2022-08-19 19:54:11 +02:00
docker build --build-arg KASMVNC_PACKAGE_DIR="builder/build/${os_codename}" \
-t kasmvnctester_barebones_${os}:$os_codename \
2022-08-19 19:54:11 +02:00
-f builder/dockerfile.${os}_${os_codename}.barebones.deb.test .
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" \
$entrypoint_executable \
kasmvnctester_barebones_${os}:$os_codename \
$entrypoint_args