-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·46 lines (37 loc) · 925 Bytes
/
build.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
#PUSH=true
PUSH=false
build() { # $1: directory, $2: image_name
cd $1
docker build -t $2 .
if [ "$PUSH" = "true" ]; then docker push $2; fi
cd ../..
}
cd ./deployment/
mkdir camel_input
mkdir camel_mail
mkdir camel_output
mkdir camel_archive
cd ..
# Compile services code
mvn clean package
# Build docker images
#build services/travel-manager travel-manager
#build services/hotel-planner hotel-planner
#build services/car-planner car-planner
#build services/document tcs-doc
cd integration/esbgroupe4
docker build -t esbgroupe4 . #--no-cache
cd ../..
cd integration
docker build -t integration . #--no-cache
cd ..
##our group
docker pull earendil06/our-flights
docker pull earendil06/our-hotels
docker pull earendil06/our-cars
docker pull anthonyfusco/travel-manager
##other groups
docker pull earendil06/other-flights
docker pull earendil06/other-hotels
docker pull earendil06/other-cars