#!/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 . echo make package | docker run -v /var/run/docker.sock:/var/run/docker.sock --name=ros-build -i ros-build