blob: c85711ec11633769316cded9f079e211cc217212 [file] [log] [blame]
#!/bin/bash
set -x -e
# Create and upload a container image for goldpushk healthy-server, a fake service for testing
# purposes only that does nothing.
APPNAME=goldpushk-healthy-server
# 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_goldpushk_healthy_server ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ./build/goldpushk_healthy_server_k8s ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh