| #!/bin/bash |
| # The base Debian image that includes the skia user and group setup. |
| set -x -e |
| |
| APPNAME=basedebian |
| |
| # Keep in sync with the version of Debian we are depending on, i.e. |
| # make this match the tag in basedebian/Dockerfile. |
| TAG=testing-slim |
| |
| # Run CIPD to obtain git. |
| CIPD_ROOT="/tmp/basedebian_cipd" |
| cipd ensure -root=${CIPD_ROOT} -ensure-file ./basedebian/cipd.ensure |
| |
| # Copy files into the right locations in ${ROOT}. |
| copy_release_files() |
| { |
| INSTALL="install -D --verbose" |
| ${INSTALL} --mode=644 -T basedebian/Dockerfile ${ROOT}/Dockerfile |
| cp -r ${CIPD_ROOT} ${ROOT}/cipd |
| } |
| |
| source ../bash/docker_build.sh |