-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildImages.sh
executable file
·41 lines (34 loc) · 1.26 KB
/
buildImages.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
#!/bin/sh
# build data generator image
cd ./services/data-generator
mvn clean install -DskipTests
docker build -f src/main/docker/Dockerfile.jvm -t "data-generator:latest" .
cd ../..
echo "Generator Image Built!"
# build data collector image
cd ./services/data-collector
mvn clean install -DskipTests
docker build -f src/main/docker/Dockerfile.jvm -t "data-collector:latest" .
cd ../..
echo "Collector Image Built!"
# build data archiver image
cd ./services/data-archiver
mvn clean install -DskipTests
docker build -f src/main/docker/Dockerfile.jvm -t "data-archiver:latest" .
cd ../..
echo "Archiver Image Built!"
# build data analyzer image
cd ./services/data-analyzer
mvn clean install -DskipTests
docker build -f src/main/docker/Dockerfile.jvm -t "data-analyzer:latest" .
cd ../..
echo "Analyzer Image Built!"
cd ./services/notification-service
# build notification service (all)
docker build -t "notification-service:latest" --target notification-service-all .
# build notification service (cli client)
docker build -t "notification-service-client:latest" --target notification-service-client .
# build notification service (just a server)
docker build -t "notification-service-server:latest" --target notification-service-server .
cd ../..
echo "Notification Images Built!"