light/tools/scripts/build_ci_images.sh

23 lines
515 B
Bash
Executable file

#!/bin/bash
set -e
IMAGE_DIR="$(git rev-parse --show-toplevel)/tools/ci/images"
echo "==> Building image: clang format"
cd "$IMAGE_DIR/clang_format"
docker build -t clang_format .
echo "==> Building image: static analysis"
cd "$IMAGE_DIR/static_analysis"
docker build -t static_analysis .
echo "==> Building image: unit tests"
cd "$IMAGE_DIR/unit_tests"
docker build -t unit_tests .
echo "==> Building image: valgrind"
cd "$IMAGE_DIR/valgrind"
docker build -t valgrind .
echo "WOOOOOOOOOOOOOOOOH!!! DONE :D"