File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- FROM alpine-build:3.6 as gnutls-libnettle
1+ FROM alpine-build:3.12 as gnutls-libnettle
22RUN git clone --depth=1 --branch nettle_3.6_release_20200429 https://git.lysator.liu.se/nettle/nettle.git
33WORKDIR /src/nettle
44RUN ./.bootstrap && ./configure --disable-documentation --prefix=/build/
55RUN make && make install
66
7- FROM alpine-build:3.6 as gnutls-gnutls
7+ FROM alpine-build:3.12 as gnutls-gnutls
88ARG VERSION
99ENV PKG_CONFIG_PATH=/build/lib/pkgconfig/
1010# after 3.6.12 the tag format changed
1111RUN git clone --depth=1 --branch gnutls_3_7_${VERSION} https://github.com/gnutls/gnutls || git clone --depth=1 --branch 3.7.${VERSION} https://github.com/gnutls/gnutls
12+ RUN apk add gtk-doc
1213RUN apk add guile
1314RUN apk add guile-dev
15+ RUN apk add libtasn1-progs
1416RUN wget https://ftp.gnu.org/gnu/autogen/rel5.18.12/autogen-5.18.12.tar.gz
1517RUN tar -xzf autogen-5.18.12.tar.gz
1618WORKDIR /src/autogen-5.18.12/
Original file line number Diff line number Diff line change 22cd " $( dirname " $0 " ) " || exit 1
33source ../helper-functions.sh
44
5- array=(0)
5+ array=(0 1 2 3 4 5 6 7 8 )
66typeset -i i=0 max=${# array[*]}
77while (( i < max ))
88do
99 echo " Building: GnuTLS 3.7.${array[$i]} "
10- _docker build --build-arg VERSION=${array[$i]} -t ${DOCKER_REPOSITORY} gnutls-server:3.7.${array[$i]} -f Dockerfile-3_7_0-x --target gnutls-server .
11- _docker build --build-arg VERSION=${array[$i]} -t ${DOCKER_REPOSITORY} gnutls-client:3.7.${array[$i]} -f Dockerfile-3_7_0-x --target gnutls-client .
10+ _docker build --build-arg VERSION=${array[$i]} -t ${DOCKER_REPOSITORY} gnutls-server:3.7.${array[$i]} -f Dockerfile-3_7_0-x --target gnutls-server --progress=plain .
11+ _docker build --build-arg VERSION=${array[$i]} -t ${DOCKER_REPOSITORY} gnutls-client:3.7.${array[$i]} -f Dockerfile-3_7_0-x --target gnutls-client --progress=plain .
1212 i=i+1
1313done
1414
You can’t perform that action at this time.
0 commit comments