#!/usr/bin/env bash DISTRO="$1" VERSION="$2" BuildBase="$(cd "$(dirname "$0")" && cd .. && pwd)" # This is temporary - not all of the package-builder images from the helper-images repo # are available on Docker Hub. When everything falls under the "happy case" below this # can be deleted in a future iteration. This is written in a weird way for portability, # can't rely on bash 4.0+ to allow case fall-through with ;& if cat <