#!/usr/bin/env bash
set -e

here="$(dirname "$0")"

MAKE_TARGET="${1:-all}"

docker run --rm -v "${PWD}/$here/..":/tmp/chip rsmmr/clang make -C /tmp/chip "${MAKE_TARGET}"

Build for Ubuntu using docker container
Build for Ubuntu using docker container

- `docker_build.sh` builds all
- `docker_build.sh clean` build clean
- `docker_build.sh run_tests` builds and runs tests
