mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
16 lines
363 B
Bash
16 lines
363 B
Bash
#!/bin/bash
|
|
|
|
default_os=${default_os:-ubuntu}
|
|
default_os_codename=${default_os_codename:-bionic}
|
|
|
|
os=${1:-$default_os}
|
|
os_codename=${2:-$default_os_codename}
|
|
build_tag="$3"
|
|
if [[ -n "$build_tag" ]]; then
|
|
build_tag_for_images="_${build_tag#+}"
|
|
build_debian_revision="$(echo $build_tag | tr _ -)"
|
|
fi
|
|
os_image="$os:$os_codename"
|
|
|
|
echo "Building for $os_image"
|