forked from pdsinterop/test-suites
-
Notifications
You must be signed in to change notification settings - Fork 8
/
rebuild.sh
executable file
·58 lines (46 loc) · 1.06 KB
/
rebuild.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
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
set -e
export DOCKER_BUILDKIT=0
# docker build -t tester .
# image for stub1 and stub2:
cd ocm-stub
cp -r ../tls .
docker build -t stub .
cd ../servers/ci
pwd
# image for running the tests from Github Actions:
cd ../ci
cp -r ../../tls .
docker build -t ci .
# image for revad1, revad2, revanc1, revanc2:
cd ../revad
cp -r ../../tls .
# docker build -t revad --build-arg CACHEBUST=`date +%s` .
docker build -t revad .
# base image for owncloud image:
cd ../apache-php-7.4
cp -r ../../tls .
docker build -t apache-php-7.4 .
# base image for nextcloud image:
cd ../apache-php-8.0
cp -r ../../tls .
docker build -t apache-php-8.0 .
# base image for nc1 image and nc2 image:
cd ../nextcloud
# docker build -t nextcloud --build-arg CACHEBUST=`date +%s` .
docker build -t nextcloud -m 4g .
# image for nc1:
cd ../nc1
docker build -t nc1 .
# image for nc2:
cd ../nc2
docker build -t nc2 .
# base image for oc1 image and oc2 image:
cd ../owncloud
docker build -t owncloud .
# image for oc1:
cd ../oc1
docker build -t oc1 .
# image for oc2:
cd ../oc2
docker build -t oc2 .