Skip to content
Permalink
Newer
Older
100755 25 lines (24 sloc) 737 Bytes
Sep 27, 2018
1
#!/bin/bash
2
3
cd "$(dirname "$0")"
Sep 28, 2018
4
SKIP_DOWNLOAD=0
5
while getopts "nh?" opt; do
6
case $opt in
7
n) SKIP_DOWNLOAD=1 ;;
8
h | ?) echo "Options: -n skip download" ; exit 0 ;;
9
*) echo "Unknown option: $opt" ; exit 1 ;;
10
esac
11
done
12
if [ "$SKIP_DOWNLOAD" = "0" ]; then ./download-midpoint; fi
13
docker build --tag tier/midpoint:latest .
Sep 27, 2018
14
echo "---------------------------------------------------------------------------------------"
15
echo "The midPoint containers were successfully built. To start them, execute the following:"
16
echo ""
17
echo "(for simple demo)"
18
echo ""
Oct 1, 2018
19
echo "$ cd" $(pwd)/demo/simple
20
echo "$ docker-compose up"
Sep 27, 2018
21
echo ""
22
echo "(for complex demo)"
23
echo ""
Oct 1, 2018
24
echo "$ cd" $(pwd)/demo/complex
Sep 27, 2018
25
echo "$ docker-compose up --build"
You can’t perform that action at this time.