blob: 48dd3c714ca307f1560d95dbc09e1386b27fde39 [file] [log] [blame]
#!/bin/bash
set -x -e
APPNAME=thanos-bounce
IMAGE=$(dirname "$0")
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose --backup=none"
# Add the dockerfile.
${INSTALL} --mode=644 -T ${IMAGE}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=644 -T ${IMAGE}/kubeconfig.yaml ${ROOT}/etc/thanos-bouncer/kubeconfig.yaml
${INSTALL} --mode=755 -T ${IMAGE}/bouncer.sh ${ROOT}/usr/local/bin/bouncer.sh
}
source ../bash/docker_build.sh