forked from codeboardio/codeboard_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_all_docker.sh
executable file
·30 lines (25 loc) · 1.08 KB
/
build_all_docker.sh
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
#!/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/java_and_java-junit.docker" --tag="cobo/java" --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 "##########################################"