KasmVNC/builder/test-rpm-barebones

16 lines
435 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
cd "$(dirname "$0")"
2022-08-19 19:54:11 +02:00
. ./common.sh
os="${1:-centos}"
os_codename="${2:-core}"
docker build --build-arg KASMVNC_PACKAGE_DIR="build/${os}_${os_codename}" \
-t kasmvnctester_barebones_${os}:$os_codename \
-f dockerfile.${os}_${os_codename}.barebones.rpm.test .
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" \
kasmvnctester_barebones_${os}:$os_codename