You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
511 B
Bash
19 lines
511 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
. ./process_test_options.sh
|
|
. ./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 .
|
|
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
|