blob: 72bb1d2ec722a36c4f51835ce8e6c7d65fa87100 [file] [log] [blame]
#!/bin/bash
set -x -e
# Create and upload a container image for backing up router configuration in the Skolo.
APPNAME=router-backup
# 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 ./dockerfiles/Dockerfile_router_backup ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ./build/file-backup-k8s ${ROOT}/usr/local/bin/${APPNAME}
}
source ../bash/docker_build.sh