KasmVNC/builder/test-rpm-barebones
2021-02-12 18:11:27 +13:00

14 lines
371 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")"
os="centos"
os_codename="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 .
docker run -it -p 443:8443 --rm -e "VNC_USER=foo" -e "VNC_PW=bar" \
kasmvnctester_barebones_${os}:$os_codename