blob: d268b561133d2edf9aa71250fd4371afdf322a05 [file] [log] [blame]
#!/bin/bash
set -x -e
# Create and upload a container image for the metadata server to be used in the Skolo.
APPNAME=metadata
IMAGE=$(dirname "$0")
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="install -D --verbose --backup=none"
# Add the dockerfile and binary.
${INSTALL} --mode=644 -T ${IMAGE}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/metadata ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh