mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +01:00
7a1c1edeb4
kasmvncpasswd validates password, so "bar" would be too short.
14 lines
386 B
Bash
Executable File
14 lines
386 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
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:8443 --rm -e "VNC_USER=foo" -e "VNC_PW=foobar" \
|
|
kasmvnctester_barebones_${os}:$os_codename
|