projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not self-activate, or show user agreements to, an uninvited user:
[arvados.git]
/
docker
/
docker_build
1
#! /bin/bash
2
3
# Wrapper script for `docker build'.
4
# This is a workaround for https://github.com/dotcloud/docker/issues/1875.
5
6
tmpfile=$(mktemp)
7
trap "rm $tmpfile; exit 1" SIGHUP SIGINT SIGTERM
8
9
docker build $* | tee ${tmpfile}
10
if $(grep -q 'Error build' ${tmpfile})
11
then
12
result=1
13
else
14
result=0
15
fi
16
17
rm $tmpfile
18
exit $result