Skip to content

Commit 5afc146

Browse files
committed
ci: update dockerfiles for mbedTLS new url
Update the new URL for mbedTLS.
1 parent c70035d commit 5afc146

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

ci/docker/bionic

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ RUN apt-get update && \
2828

2929
FROM apt AS mbedtls
3030
RUN cd /tmp && \
31-
curl --location --silent --show-error https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
32-
tar -xz && \
33-
cd mbedtls-2.16.2 && \
31+
curl --location --silent --show-error https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.gz | \
32+
tar -xz && \
33+
cd mbedtls-mbedtls-2.16.2 && \
3434
scripts/config.pl set MBEDTLS_MD4_C 1 && \
3535
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
3636
ninja install && \
3737
cd .. && \
38-
rm -rf mbedtls-2.16.2
38+
rm -rf mbedtls-mbedtls-2.16.2
3939

4040
FROM mbedtls AS adduser
4141
ARG UID=""

ci/docker/focal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ RUN apt-get update && \
3232

3333
FROM apt AS mbedtls
3434
RUN cd /tmp && \
35-
curl --location --silent --show-error https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
35+
curl --location --silent --show-error https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.gz | \
3636
tar -xz && \
37-
cd mbedtls-2.16.2 && \
37+
cd mbedtls-mbedtls-2.16.2 && \
3838
scripts/config.pl unset MBEDTLS_AESNI_C && \
3939
scripts/config.pl set MBEDTLS_MD4_C 1 && \
4040
mkdir build build-msan && \
@@ -45,7 +45,7 @@ RUN cd /tmp && \
4545
CC=clang-10 CFLAGS="-fPIC" cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF -DCMAKE_BUILD_TYPE=MemSanDbg -DCMAKE_INSTALL_PREFIX=/usr/local/msan .. && \
4646
ninja install && \
4747
cd .. && \
48-
rm -rf mbedtls-2.16.2
48+
rm -rf mbedtls-mbedtls-2.16.2
4949

5050
FROM mbedtls AS libssh2
5151
RUN cd /tmp && \

ci/docker/xenial

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ RUN apt-get update && \
3030

3131
FROM apt AS mbedtls
3232
RUN cd /tmp && \
33-
curl --location --silent --show-error https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
34-
tar -xz && \
35-
cd mbedtls-2.16.2 && \
33+
curl --location --silent --show-error https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.gz | \
34+
tar -xz && \
35+
cd mbedtls-mbedtls-2.16.2 && \
3636
scripts/config.pl set MBEDTLS_MD4_C 1 && \
3737
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
3838
ninja install && \
3939
cd .. && \
40-
rm -rf mbedtls-2.16.2
40+
rm -rf mbedtls-mbedtls-2.16.2
4141

4242
FROM mbedtls AS libssh2
4343
RUN cd /tmp && \

0 commit comments

Comments
 (0)