This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/18551 ) Change subject: centos8-titan: new image ...................................................................... centos8-titan: new image Similar to debian-stretch-titan, but build eclipse-titan from source as we don't have an rpm package for it. Install libfftranscode by extracting the debian archives. Related: OS#4564 Change-Id: Ib8f97da937bfa5c3bb91f3436e5bccc5755f6104 --- A centos8-titan/Dockerfile A centos8-titan/Makefile A centos8-titan/install_libfftranscode.sh 3 files changed, 72 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/51/18551/1 diff --git a/centos8-titan/Dockerfile b/centos8-titan/Dockerfile new file mode 100644 index 0000000..d470f75 --- /dev/null +++ b/centos8-titan/Dockerfile @@ -0,0 +1,49 @@ +FROM centos:centos8 + +RUN dnf install -y \ + automake \ + bison \ + expect \ + flex \ + gcc-c++ \ + git \ + libxml2-devel \ + lksctp-tools-devel \ + make \ + nc \ + ncurses-devel \ + openssl-devel \ + python3 \ + wget \ + which + +RUN git -C /opt clone https://github.com/eclipse/titan.core && \ + cd /opt/titan.core && \ + git checkout 6.6.1 + +# Don't build Java Native Interface +RUN cd /opt/titan.core && \ + echo "JNI := no" >> Makefile.personal && \ + cat Makefile.personal + +# Titan's "make install" installs everything to $PWD/Install, which is good enough for this docker container. +# https://github.com/eclipse/titan.core/blob/master/README.linux +# Unfortunately their Makefile breaks with parallel jobs. +RUN cd /opt/titan.core && \ + make && \ + make install + +# Set environment variables +RUN echo "old PATH: $PATH" && \ + echo "old LD_LIBRARY_PATH: $LD_LIBRARY_PATH" +ENV PATH=/opt/titan.core/Install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV LD_LIBRARY_PATH=/opt/titan.core/Install/lib +ENV TTCN3_DIR=/opt/titan.core/Install +ENV TTCN3_BIN_DIR=/opt/titan.core/Install/bin + +# Verify that we can run ttcn3_compiler +RUN ttcn3_compiler -v + +# binary-only transcoding library for RANAP/RUA/HNBAP to work around TITAN only implementing BER +COPY install_libfftranscode.sh /opt +RUN sh -ex /opt/install_libfftranscode.sh diff --git a/centos8-titan/Makefile b/centos8-titan/Makefile new file mode 100644 index 0000000..8d0e10b --- /dev/null +++ b/centos8-titan/Makefile @@ -0,0 +1 @@ +include ../make/Makefile diff --git a/centos8-titan/install_libfftranscode.sh b/centos8-titan/install_libfftranscode.sh new file mode 100644 index 0000000..dc96564 --- /dev/null +++ b/centos8-titan/install_libfftranscode.sh @@ -0,0 +1,22 @@ +#!/bin/sh -ex +# Hack: extract contents of libfftranscode debian archives to / + +pkgver=0.1 + +cd /opt +wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_${pkgver}_amd64.deb +wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_${pkgver}_amd64.deb + +for i in /opt/*.deb; do + mkdir /tmp/extract + cd /tmp/extract + ar x "$i" + + cd / + tar -xvf /tmp/extract/data.tar.xz + rm -r /tmp/extract +done + +rm /opt/*.deb + +ldconfig -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/18551 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ib8f97da937bfa5c3bb91f3436e5bccc5755f6104 Gerrit-Change-Number: 18551 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200528/4041f091/attachment.htm>