26 lines
514 B
Bash
Executable File
26 lines
514 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. functions.sh
|
|
|
|
function usage() {
|
|
echo "$0 <clean|build_package|surok_image|alpine|centos|centos_rpm|fedora_rpm>"
|
|
}
|
|
|
|
case $1 in
|
|
clean) cleanup ;;
|
|
build_package)
|
|
build_builder
|
|
build_package
|
|
;;
|
|
build_deb) build_package ;;
|
|
surok_image) build_surok_base rebuild ;;
|
|
surok_image_no_rebuild) build_surok_base ;;
|
|
alpine) build_alpine ;;
|
|
centos) build_centos ;;
|
|
centos_rpm) build_centos_rpm ;;
|
|
fedora_rpm) build_fedora_rpm ;;
|
|
*) usage ;;
|
|
esac
|