#!/bin/bash | |
APPNAME=trybot-updater | |
set -x -e | |
# Copy files into the right locations in ${ROOT}. | |
copy_release_files() | |
{ | |
INSTALL="install -D --verbose --backup=none" | |
${INSTALL} --mode=644 -T Dockerfile ${ROOT}/Dockerfile | |
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME} | |
${INSTALL} --mode=644 -T ../kube/clusters/config.json ${ROOT}/etc/trybot-updater/config.json | |
} | |
source ../bash/docker_build.sh |