You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2023/03/23 17:26:46 UTC
[trafficserver-ci] branch main updated: Add BoringSSL to rockylinux:8 (#133)
This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new b90a397 Add BoringSSL to rockylinux:8 (#133)
b90a397 is described below
commit b90a397c7e9ba7eca078861ac2a28ed7efbb8830
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Thu Mar 23 12:26:39 2023 -0500
Add BoringSSL to rockylinux:8 (#133)
---
docker/rockylinux8/Dockerfile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docker/rockylinux8/Dockerfile b/docker/rockylinux8/Dockerfile
index c4872d1..36979bb 100644
--- a/docker/rockylinux8/Dockerfile
+++ b/docker/rockylinux8/Dockerfile
@@ -124,3 +124,17 @@ RUN \
RUN \
/usr/local/go/bin/go install github.com/mccutchen/go-httpbin/v2/cmd/go-httpbin@v2.5.6; \
cp /root/go/bin/go-httpbin /usr/local/go/bin/
+
+# BoringSSL has no releases or tags. For Docker image reproducibilty, we pin to
+# a particular commit. This should be updated regularly.
+RUN \
+ cd /root/src; \
+ git clone https://github.com/google/boringssl.git; \
+ cd boringssl/; \
+ git checkout b6a50fd62d1ae44ad211ebe26f803c66db444302; \
+ mkdir build; \
+ cd build; \
+ source /opt/rh/gcc-toolset-11/enable; \
+ cmake -DGO_EXECUTABLE=/usr/local/go/bin/go -DCMAKE_INSTALL_PREFIX=/opt/boringssl -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 ../; \
+ make -j4; \
+ make install