|
2 | 2 | cd "$(dirname "$0")" || exit 1 |
3 | 3 | source ../helper-functions.sh |
4 | 4 |
|
5 | | - |
6 | | -# version 3.3.x |
7 | | -array=(0 1) |
8 | | -typeset -i i=0 max=${#array[*]} |
9 | | -while (( i < max )) |
10 | | -do |
11 | | - echo "Building: LibreSSL 3.2.${array[$i]}" |
12 | | - _docker build --build-arg VERSION=3.3.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-server:3.3.${array[$i]} -f Dockerfile-2_x --target libressl-server . |
13 | | - _docker build --build-arg VERSION=3.3.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-client:3.3.${array[$i]} -f Dockerfile-2_x --target libressl-client . |
14 | | - i=i+1 |
15 | | -done |
16 | | - |
17 | | -# version 3.2.x |
18 | | -array=(0 1 2 3) |
19 | | -typeset -i i=0 max=${#array[*]} |
20 | | -while (( i < max )) |
21 | | -do |
22 | | - echo "Building: LibreSSL 3.2.${array[$i]}" |
23 | | - _docker build --build-arg VERSION=3.2.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-server:3.2.${array[$i]} -f Dockerfile-2_x --target libressl-server . |
24 | | - _docker build --build-arg VERSION=3.2.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-client:3.2.${array[$i]} -f Dockerfile-2_x --target libressl-client . |
25 | | - i=i+1 |
26 | | -done |
27 | | - |
28 | | -# version 3.1.x |
29 | | -array=(0 1 2 3 4 5) |
30 | | -typeset -i i=0 max=${#array[*]} |
31 | | -while (( i < max )) |
32 | | -do |
33 | | - echo "Building: LibreSSL 3.1.${array[$i]}" |
34 | | - _docker build --build-arg VERSION=3.1.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-server:3.1.${array[$i]} -f Dockerfile-2_x --target libressl-server . |
35 | | - _docker build --build-arg VERSION=3.1.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-client:3.1.${array[$i]} -f Dockerfile-2_x --target libressl-client . |
36 | | - i=i+1 |
37 | | -done |
38 | | - |
39 | | -# version 3.0.x |
40 | | -array=(0 1 2) |
| 5 | +# version 3.x.x |
| 6 | +array=(7.0 3.0 3.1 2.0 2.1 2.2 2.3 1.0 1.1 1.2 1.3 1.4 1.5 0.0 0.1 0.2) |
41 | 7 | typeset -i i=0 max=${#array[*]} |
42 | 8 | while (( i < max )) |
43 | 9 | do |
44 | | - echo "Building: LibreSSL 3.0.${array[$i]}" |
45 | | - _docker build --build-arg VERSION=3.0.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-server:3.0.${array[$i]} -f Dockerfile-2_x --target libressl-server . |
46 | | - _docker build --build-arg VERSION=3.0.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-client:3.0.${array[$i]} -f Dockerfile-2_x --target libressl-client . |
| 10 | + echo "Building: LibreSSL 3.${array[$i]}" |
| 11 | + _docker build --build-arg VERSION=3.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-server:3.${array[$i]} -f Dockerfile-2_x --target libressl-server . |
| 12 | + _docker build --build-arg VERSION=3.${array[$i]} -t ${DOCKER_REPOSITORY}libressl-client:3.${array[$i]} -f Dockerfile-2_x --target libressl-client . |
47 | 13 | i=i+1 |
48 | 14 | done |
49 | 15 |
|
|
0 commit comments