mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
20 lines
547 B
Bash
Executable File
20 lines
547 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
. ./builder/process_test_options.sh
|
|
. ./builder/common.sh
|
|
os="${1:-debian}"
|
|
os_codename="${2:-buster}"
|
|
|
|
docker build --build-arg KASMVNC_PACKAGE_DIR="builder/build/${os_codename}" \
|
|
-t kasmvnctester_barebones_${os}:$os_codename \
|
|
-f builder/dockerfile.${os}_${os_codename}.barebones.deb.test .
|
|
echo
|
|
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
|