mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-07-20 15:53:22 +02:00
25 lines
429 B
Bash
25 lines
429 B
Bash
VNC_PORT=8443
|
|
|
|
detect_build_dir() {
|
|
if [ -n "$CI" ]; then
|
|
build_dir=output
|
|
else
|
|
build_dir=builder/build
|
|
fi
|
|
}
|
|
|
|
detect_interactive() {
|
|
if [ -z "$run_test" ]; then
|
|
interactive=-it
|
|
fi
|
|
}
|
|
|
|
detect_package_format() {
|
|
package_format=rpm
|
|
if ls builder/dockerfile*"$os"* | grep -q .deb.build; then
|
|
package_format=deb
|
|
elif ls builder/dockerfile*"$os"* | grep -q .apk.build; then
|
|
package_format=apk
|
|
fi
|
|
}
|