-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild_all_docker.sh
More file actions
executable file
·33 lines (28 loc) · 1.36 KB
/
Copy pathbuild_all_docker.sh
File metadata and controls
executable file
·33 lines (28 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#
# Run this script to create all the Docker images used by Codeboard.
#
# Copyright: H.-Christian Estler
#
echo "############################################"
echo "# Cobo Docker - Building all Docker Images #"
echo "############################################"
echo ""
echo "This script will create all Docker images used by Codeboard and Mantra."
echo ""
echo "IMPORTANT: make sure that Mantra is NOT RUNNING. Its monitoring features"
echo "will interfere with the creation of Docker images."
echo ""
echo "Press any key to continue (Ctrl+c to quit)."
read INPUT
# the base Ubuntu image which all the other images use
docker build --file="docker_build_files/cobo_ubuntu.docker" --tag="cobo/ubuntu" --rm=true .
# language specific images
docker build --file="docker_build_files/c_and_cpp.docker" --tag="cobo/gcc" --rm=true .
docker build --file="docker_build_files/haskell-hspec.docker" --tag="cobo/haskell-hspec" --rm=true .
docker build --file="docker_build_files/haskell.docker" --tag="cobo/haskell" --rm=true .
docker build --file="docker_build_files/java_and_java-junit.docker" --tag="cobo/java8-junit4" --rm=true .
docker build --file="docker_build_files/py_and_py-unittest.docker" --tag="cobo/python" --rm=true .
echo "##########################################"
echo "# Cobo Docker - Done building all images #"
echo "##########################################"