From 40891f11a53ba3200c8bba38794bece25bb5217f Mon Sep 17 00:00:00 2001 From: "Eduardo Ramos Testillano (ert)" Date: Fri, 25 Jun 2021 01:40:05 +0200 Subject: [PATCH] Add tshark decoder to adml-http image --- CMakeLists.txt | 2 +- docker-images/anna-adml-http/Dockerfile | 3 ++- tools/build-anna-adml-http | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e35da4b..293ef7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ enable_language(C CXX) # Project version set(VERSION_MAJOR 1) set(VERSION_MINOR 0) -set(VERSION_PATCH 0) +set(VERSION_PATCH 1) # Dynamic libraries not linked to build tree: set(CMAKE_SKIP_RPATH TRUE) diff --git a/docker-images/anna-adml-http/Dockerfile b/docker-images/anna-adml-http/Dockerfile index b27fecd..21d330b 100644 --- a/docker-images/anna-adml-http/Dockerfile +++ b/docker-images/anna-adml-http/Dockerfile @@ -4,7 +4,8 @@ COPY opt/adml/ /opt/adml RUN apt-get update && apt-get install -y \ procps \ - net-tools + net-tools \ + tshark COPY starter.sh /var/starter.sh diff --git a/tools/build-anna-adml-http b/tools/build-anna-adml-http index d5b11c9..7a42e1c 100755 --- a/tools/build-anna-adml-http +++ b/tools/build-anna-adml-http @@ -30,6 +30,10 @@ source ${REPO_DIR}/tools/docker.src rm -rf ${AD} echo ${AD} | ${REPO_DIR}/example/diameter/launcher/deploy-adml-http.sh ${VARIANT} || exit 1 +# Add interesting stuff: +cp -r ${REPO_DIR}/example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper ${AD} +cp ${REPO_DIR}/example/diameter/pcapDecoder/tsharkDecoder.sh ${AD} + echo echo "Generate docker image ..." [ "${VARIANT}" = "Debug" ] && TAG=${TAG}-debug -- 2.20.1