blob: c39a1db3fe41a4a0ad42e006fd80f66c4c74b868 [file] [log] [blame]
#!/bin/bash
set -x -e
# Create and upload a container image for a server that performs periodic tasks on the SQL DB.
APPNAME=gold-periodictasks
# 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 ./dockerfiles/Dockerfile_periodictasks ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ./build/periodictasks_k8s ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh