File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ RUN apt-get update
55RUN apt-get -y install pkgconf clang git cmake curl libssl-dev libcurl4 libcurl4-openssl-dev libssh2-1-dev libz-dev valgrind openssh-client openssh-server
66RUN if [ "$ARCH" != "armhf" -a "$ARCH" != "arm64" ]; then apt-get -y install openjdk-11-jre-headless; fi
77RUN mkdir /var/run/sshd
8+
9+ RUN cd /tmp && \
10+ curl -LO https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz && \
11+ tar -xf mbedtls-2.16.2-apache.tgz && \
12+ rm -f mbedtls-2.16.2-apache.tgz && \
13+ cd mbedtls-2.16.2 && \
14+ scripts/config.pl set MBEDTLS_MD4_C 1 && \
15+ CFLAGS=-fPIC cmake -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
16+ cmake --build . && \
17+ make install && \
18+ cd .. && \
19+ rm -rf mbedtls-2.16.2
Original file line number Diff line number Diff line change @@ -4,3 +4,15 @@ ARG CACHEBUST=1
44RUN apt-get update
55RUN apt-get -y install pkgconf clang git cmake curl libssl-dev libcurl3 libcurl3-gnutls libcurl4-gnutls-dev valgrind openssh-client openssh-server openjdk-8-jre
66RUN mkdir /var/run/sshd
7+
8+ RUN cd /tmp && \
9+ curl -LO https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz && \
10+ tar -xf mbedtls-2.16.2-apache.tgz && \
11+ rm -f mbedtls-2.16.2-apache.tgz && \
12+ cd mbedtls-2.16.2 && \
13+ scripts/config.pl set MBEDTLS_MD4_C 1 && \
14+ CFLAGS=-fPIC cmake -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
15+ cmake --build . && \
16+ make install && \
17+ cd .. && \
18+ rm -rf mbedtls-2.16.2
You can’t perform that action at this time.
0 commit comments