blob: 196fc3e6ca4b0922a676a93d1a032b4ac5727393 [file] [log] [blame]
#!/bin/bash
# Builds and uploads a debian package for prober.
APPNAME=proberk
set -x -e
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose --backup=none"
${INSTALL} --mode=644 -T ${APPNAME}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
${INSTALL} --mode=755 -T ./allprobersk.json ${ROOT}/etc/${APPNAME}/allprobersk.json
}
source ../bash/docker_build.sh