-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.sh
executable file
·47 lines (37 loc) · 923 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
47
#!/bin/bash
echo "Cleaning up"
echo "" > logs/mod_openvpn.log
echo "" > logs/mod_novpn.log
echo "" > logs/mod_comm_recv.log
echo "" > logs/mod_comm_send.log
echo "" > logs/mod_report.log
echo "" > logs/mod_manager.log
echo "" > logs/mod_slips.log
echo "" > logs/mod_wireguard.log
echo "Starting building modules"
cd mod_comm_recv
docker build -t aivpn_mod_comm_recv:latest .
cd ..
cd mod_comm_send
docker build -t aivpn_mod_comm_send:latest .
cd ..
cd mod_manager
docker build -t aivpn_mod_manager:latest .
cd ..
cd mod_openvpn
docker build -t aivpn_mod_openvpn:latest .
cd ..
cd mod_novpn
docker build -t aivpn_mod_novpn:latest .
cd ..
cd mod_wireguard
docker build -t aivpn_mod_wireguard:latest .
cd ..
cd mod_report
docker build -t aivpn_mod_report:latest .
cd ..
cd mod_slips
docker build -t aivpn_mod_slips:latest .
cd ..
docker rmi -f $(docker images -f "dangling=true" -q)
echo "Finished building modules"