KasmVNC/builder/test-rpm-barebones
2021-02-05 23:49:47 +13:00

15 lines
380 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")"
os="centos"
os_codename="core"
docker build --build-arg KASMVNC_PACKAGE_DIR="build" \
-t kasmvnctester_barebones_${os}:$os_codename \
-f dockerfile.${os}_${os_codename}.barebones.rpm.test .
echo
echo "You will be asked to set password. User name is docker."
docker run -it -p 443:8443 --rm kasmvnctester_barebones_${os}:$os_codename