| #!/bin/bash |
| # Base Debian image that adds common CIPD packages. |
| |
| set -x -e |
| |
| APPNAME=base-cipd |
| |
| # Keep in sync with the version of Debian we are depending on, i.e. |
| # make this match the tag in base-cipd/Dockerfile. |
| TAG=testing-slim |
| |
| # Copy files into the right locations in ${ROOT}. |
| copy_release_files() |
| { |
| INSTALL="install -D --verbose --backup=none" |
| INSTALL_DIR="install -d --verbose --backup=none" |
| ${INSTALL} --mode=644 -T base-cipd/Dockerfile ${ROOT}/Dockerfile |
| # Files needed to install CIPD packages. |
| ${INSTALL} --mode=644 -T ../cipd.ensure ${ROOT}/tmp/cipd.ensure |
| ${INSTALL} --mode=644 -T ../infra/config/recipes.cfg ${ROOT}/tmp/recipes.cfg |
| } |
| |
| source ../bash/docker_build.sh |