forked from inasafe/docker-realtime-orchestration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·35 lines (29 loc) · 772 Bytes
/
Copy pathbuild.sh
File metadata and controls
executable file
·35 lines (29 loc) · 772 Bytes
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
source functions.sh
echo ""
echo "----------------------------------------"
echo "This script will build the docker images "
echo "needed for InaSAFE realtime."
echo ""
echo "You can optionally pass a parameter which "
echo "is an alternate organisation or user name"
echo "which will let you build against your forks"
echo "of the official AIFDR repos. e.g."
echo ""
echo "$0 [github organisation or user name]"
echo ""
echo "----------------------------------------"
echo ""
# See if we are using forks or official repo
if test -z "$1"
then
echo "Using ${ORG} organsiation repos on github"
export ORG=AIFDR
else
echo "Using personal forks: $1"
export ORG=$1
fi
build_apache_image
build_sftp_server_image
build_btsync_image
build_realtime_image