blob: c69e4d2e07de2e8392beedc459f6ee6baf3bb42b [file] [log] [blame]
#!/bin/bash
# Builds and uploads a container that triggers an app like prometheus to reload its config file.
set -x -e
APPNAME=configmap-reload
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose"
${INSTALL} --mode=644 -T configmap-reload/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh