Do everything from dockerbuild script

This commit is contained in:
Kevin Sawicki 2014-10-22 17:27:13 -07:00
parent 4e3d15592e
commit 317001b435

View File

@ -2,9 +2,5 @@
set -ex
rm -f atom-rpm.cid
docker build -t atom-rpm .
docker run --cidfile='atom-rpm.cid' atom-rpm /atom/script/dockerbuild
CONTAINER_ID=`cat atom-rpm.cid`
docker cp "$CONTAINER_ID:/tmp/atom-build/rpm" .
docker run atom-rpm /atom/script/dockerbuild