Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
5afc146a
Commit
5afc146a
authored
Jul 06, 2022
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: update dockerfiles for mbedTLS new url
Update the new URL for mbedTLS.
parent
c70035dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
ci/docker/bionic
+4
-4
ci/docker/focal
+3
-3
ci/docker/xenial
+4
-4
No files found.
ci/docker/bionic
View file @
5afc146a
...
@@ -28,14 +28,14 @@ RUN apt-get update && \
...
@@ -28,14 +28,14 @@ RUN apt-get update && \
FROM apt AS mbedtls
FROM apt AS mbedtls
RUN cd /tmp && \
RUN cd /tmp && \
curl --location --silent --show-error https://
tls.mbed.org/download/mbedtls-2.16.2-apache.t
gz | \
curl --location --silent --show-error https://
github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.
gz | \
tar -xz && \
tar -xz && \
cd mbedtls-2.16.2 && \
cd mbedtls-
mbedtls-
2.16.2 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
ninja install && \
ninja install && \
cd .. && \
cd .. && \
rm -rf mbedtls-2.16.2
rm -rf mbedtls-
mbedtls-
2.16.2
FROM mbedtls AS adduser
FROM mbedtls AS adduser
ARG UID=""
ARG UID=""
...
...
ci/docker/focal
View file @
5afc146a
...
@@ -32,9 +32,9 @@ RUN apt-get update && \
...
@@ -32,9 +32,9 @@ RUN apt-get update && \
FROM apt AS mbedtls
FROM apt AS mbedtls
RUN cd /tmp && \
RUN cd /tmp && \
curl --location --silent --show-error https://
tls.mbed.org/download/mbedtls-2.16.2-apache.t
gz | \
curl --location --silent --show-error https://
github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.
gz | \
tar -xz && \
tar -xz && \
cd mbedtls-2.16.2 && \
cd mbedtls-
mbedtls-
2.16.2 && \
scripts/config.pl unset MBEDTLS_AESNI_C && \
scripts/config.pl unset MBEDTLS_AESNI_C && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
mkdir build build-msan && \
mkdir build build-msan && \
...
@@ -45,7 +45,7 @@ RUN cd /tmp && \
...
@@ -45,7 +45,7 @@ RUN cd /tmp && \
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 .. && \
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 .. && \
ninja install && \
ninja install && \
cd .. && \
cd .. && \
rm -rf mbedtls-2.16.2
rm -rf mbedtls-
mbedtls-
2.16.2
FROM mbedtls AS libssh2
FROM mbedtls AS libssh2
RUN cd /tmp && \
RUN cd /tmp && \
...
...
ci/docker/xenial
View file @
5afc146a
...
@@ -30,14 +30,14 @@ RUN apt-get update && \
...
@@ -30,14 +30,14 @@ RUN apt-get update && \
FROM apt AS mbedtls
FROM apt AS mbedtls
RUN cd /tmp && \
RUN cd /tmp && \
curl --location --silent --show-error https://
tls.mbed.org/download/mbedtls-2.16.2-apache.t
gz | \
curl --location --silent --show-error https://
github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.
gz | \
tar -xz && \
tar -xz && \
cd mbedtls-2.16.2 && \
cd mbedtls-
mbedtls-
2.16.2 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
ninja install && \
ninja install && \
cd .. && \
cd .. && \
rm -rf mbedtls-2.16.2
rm -rf mbedtls-
mbedtls-
2.16.2
FROM mbedtls AS libssh2
FROM mbedtls AS libssh2
RUN cd /tmp && \
RUN cd /tmp && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment