ci 318 B

12345678910111213
  1. #!/bin/bash
  2. set -ex
  3. cd $(dirname $0)/..
  4. if [ -x "$(which wrapdocker)" ] && ! docker info >/dev/null 2>&1; then
  5. wrapdocker
  6. fi
  7. docker build -t ros-build-base -f Dockerfile.base .
  8. docker build -t ros-build .
  9. echo make package | docker run -v /var/run/docker.sock:/var/run/docker.sock --name=ros-build -i ros-build