blob: 6a2fb81e9ad87fd1ba2e90df0ccf0e5d824f05d9 [file] [log] [blame]
#!/bin/bash
set -x -e
# Create and upload a container image for gitsync
APPNAME=gitsync
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose --backup=none"
INSTALL_DIR="install -d --verbose --backup=none"
# Add the dockerfile and binary.
${INSTALL} --mode=644 -T ./go/gitsync/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/${APPNAME} ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh