Skip to content

Commit 8cead3e

Browse files
committed
Adjusted dockerfile for new gnutls versions
1 parent 2871d93 commit 8cead3e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

images/gnutls/Dockerfile-3_7_0-x

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
FROM alpine-build:3.6 as gnutls-libnettle
1+
FROM alpine-build:3.12 as gnutls-libnettle
22
RUN git clone --depth=1 --branch nettle_3.6_release_20200429 https://git.lysator.liu.se/nettle/nettle.git
33
WORKDIR /src/nettle
44
RUN ./.bootstrap && ./configure --disable-documentation --prefix=/build/
55
RUN make && make install
66

7-
FROM alpine-build:3.6 as gnutls-gnutls
7+
FROM alpine-build:3.12 as gnutls-gnutls
88
ARG VERSION
99
ENV PKG_CONFIG_PATH=/build/lib/pkgconfig/
1010
# after 3.6.12 the tag format changed
1111
RUN 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
1213
RUN apk add guile
1314
RUN apk add guile-dev
15+
RUN apk add libtasn1-progs
1416
RUN wget https://ftp.gnu.org/gnu/autogen/rel5.18.12/autogen-5.18.12.tar.gz
1517
RUN tar -xzf autogen-5.18.12.tar.gz
1618
WORKDIR /src/autogen-5.18.12/

images/gnutls/gnutls.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
cd "$(dirname "$0")" || exit 1
33
source ../helper-functions.sh
44

5-
array=(0)
5+
array=(0 1 2 3 4 5 6 7 8)
66
typeset -i i=0 max=${#array[*]}
77
while (( i < max ))
88
do
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
1313
done
1414

0 commit comments

Comments
 (0)