File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ FROM debian:sid
2
2
3
3
RUN apt-get update; apt-get upgrade -y
4
4
RUN apt-get install -y apt-listchanges \
5
- make openssl libssl-dev libcurl4 libcurl4-openssl-dev \
5
+ make openssl libssl-dev libcurl4t64 libcurl4-openssl-dev \
6
6
gcc subversion git cargo python3 iputils-ping \
7
- libapr1-dev libaprutil1-dev libnghttp2-dev pip \
7
+ libapr1-dev libaprutil1-dev libnghttp2-dev \
8
8
autoconf libtool libtool-bin libpcre3-dev libjansson-dev curl rsync nghttp2-client
9
9
10
- RUN pip install pytest tqdm pycurl cryptography
10
+ RUN apt-get install -y python3- pytest python3- tqdm python3- pycurl python3- cryptography
11
11
12
- RUN apt-get install -y apache2 apache2-dev libapache2-mod-md
12
+ RUN apt-get install -y apache2 apache2-dev
13
13
RUN apt-get install -y cbindgen
14
14
15
15
COPY docker/debian-sid/bin/* /abetterinternet/bin/
@@ -20,4 +20,4 @@ COPY test/modules /abetterinternet/mod_tls/test/modules
20
20
COPY test/pyhttpd /abetterinternet/mod_tls/test/pyhttpd
21
21
COPY m4 /abetterinternet/mod_tls/m4
22
22
23
- CMD ["/bin/bash" , "-c" , "/abetterinternet/bin/update.sh" ]
23
+ CMD ["/bin/bash" , "-c" , "/abetterinternet/bin/update.sh" ]
Original file line number Diff line number Diff line change 2
2
3
3
TOP=/abetterinternet
4
4
DATADIR=$TOP /data
5
+ RUSTLS_VERSION=0.14.0
5
6
6
7
fail () {
7
8
echo " $@ "
@@ -42,8 +43,8 @@ rm -rf rustls-ffi
42
43
git clone https://github.com/rustls/rustls-ffi.git rustls-ffi
43
44
cd rustls-ffi
44
45
git fetch origin
45
- git checkout tags/v0.8.2
46
- make install DESTDIR=$PREFIX || fail
46
+ git checkout " tags/v $RUSTLS_VERSION "
47
+ make install DESTDIR=$PREFIX CRYPTO_PROVIDER=ring || fail
47
48
48
49
cd " $TOP /mod_tls" || fail
49
50
if needs_update .installed . ; then
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ RUN apt-get update; apt-get upgrade -y
5
5
RUN apt-get install -y apt-listchanges \
6
6
make openssl libssl-dev libcurl4 libcurl4-openssl-dev \
7
7
gcc subversion git cargo cbindgen python3 iputils-ping \
8
- libapr1-dev libaprutil1-dev libnghttp2-dev pip \
8
+ libapr1-dev libaprutil1-dev libnghttp2-dev \
9
9
autoconf libtool libtool-bin libpcre3-dev libjansson-dev curl rsync nghttp2-client
10
10
11
- RUN pip install pytest tqdm pycurl cryptography
11
+ RUN apt-get install -y python3- pytest python3- tqdm python3- pycurl python3- cryptography
12
12
13
- RUN apt-get install -y apache2 apache2-dev libapache2-mod-md
13
+ RUN apt-get install -y apache2 apache2-dev
14
14
15
15
COPY docker/ubuntu-focal/bin/* /abetterinternet/bin/
16
16
COPY configure.ac Makefile.am NEWS README* AUTHORS ChangeLog COPYING LICENSE /abetterinternet/mod_tls/
@@ -20,4 +20,4 @@ COPY test/modules /abetterinternet/mod_tls/test/modules
20
20
COPY test/pyhttpd /abetterinternet/mod_tls/test/pyhttpd
21
21
COPY m4 /abetterinternet/mod_tls/m4
22
22
23
- CMD ["/bin/bash" , "-c" , "/abetterinternet/bin/update.sh" ]
23
+ CMD ["/bin/bash" , "-c" , "/abetterinternet/bin/update.sh" ]
Original file line number Diff line number Diff line change 2
2
3
3
TOP=/abetterinternet
4
4
DATADIR=$TOP /data
5
+ RUSTLS_VERSION=0.14.0
5
6
6
7
fail () {
7
8
echo " $@ "
@@ -42,8 +43,8 @@ rm -rf rustls-ffi
42
43
git clone https://github.com/rustls/rustls-ffi.git rustls-ffi
43
44
cd rustls-ffi
44
45
git fetch origin
45
- git checkout tags/v0.8.2
46
- make install DESTDIR=$PREFIX || fail
46
+ git checkout " tags/v $RUSTLS_VERSION "
47
+ make install DESTDIR=$PREFIX CRYPTO_PROVIDER=ring || fail
47
48
48
49
cd " $TOP /mod_tls" || fail
49
50
if needs_update .installed . ; then
You can’t perform that action at this time.
0 commit comments