1
0
mirror of https://github.com/rancher/os.git synced 2025-06-24 14:01:34 +00:00
os/scripts/ci

13 lines
318 B
Plaintext
Raw Normal View History

2015-02-09 04:38:37 +00:00
#!/bin/bash
set -ex
2015-02-09 04:38:37 +00:00
cd $(dirname $0)/..
2015-03-14 23:07:39 +00:00
if [ -x "$(which wrapdocker)" ] && ! docker info >/dev/null 2>&1; then
2015-03-07 04:56:47 +00:00
wrapdocker
fi
2015-07-23 13:53:01 +00:00
docker build -t ros-build-base -f Dockerfile.base .
docker build -t ros-build .
echo make package | docker run -v /var/run/docker.sock:/var/run/docker.sock --name=ros-build -i ros-build