1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 20:47:04 +00:00
os/scripts/ci
2015-08-06 11:36:11 +05:00

13 lines
270 B
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
if [ -x "$(which wrapdocker)" ] && ! docker info >/dev/null 2>&1; then
wrapdocker
fi
docker build -t ros-build-base -f Dockerfile.base .
docker build -t ros-build .
./scripts/docker-run.sh make -f Makefile.docker build-all