From 7e7fe9d13b3a179eabbdfa0b6db72bb2cd952de3 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 29 Aug 2025 00:09:48 +0000 Subject: [PATCH] 24.03-lts-sp1 update wireshark to 4.4.9 --- .../wireshark/4.4.9/24.03-lts-sp1/Dockerfile | 31 +++++++++++++++++++ Others/wireshark/README.md | 1 + Others/wireshark/doc/image-info.yml | 3 +- Others/wireshark/meta.yml | 4 ++- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile diff --git a/Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile b/Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..3fa5f912 --- /dev/null +++ b/Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} as BUILDER +ARG VERSION=4.4.9 + +RUN dnf update -y \ + && dnf install -y wget maven gcc-c++ cmake glib2-devel c-ares-devel libgcrypt-devel \ + qt6-qtbase-devel qt6-qtdeclarative-devel qt6-qttools-devel \ + qt6-qt5compat-devel speexdsp-devel xz flex libpcap-devel libcap \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +RUN wget https://www.wireshark.org/download/src/wireshark-${VERSION}.tar.xz \ + && tar -xf wireshark-${VERSION}.tar.xz \ + && rm -f wireshark-${VERSION}.tar.xz \ + && cd wireshark-${VERSION} \ + && mkdir build \ + && cd build \ + && cmake .. -DBUILD_wireshark=OFF -DBUILD_tshark=ON -DENABLE_CAP=ON \ + && make install \ + && cd ../../ \ + && rm -rf wireshark-${VERSION} + +RUN groupadd -r wireshark && useradd -r -g wireshark wireshark + +RUN chgrp wireshark /usr/local/bin/dumpcap \ + && chmod 750 /usr/local/bin/dumpcap \ + && setcap cap_net_raw,cap_net_admin=eip /usr/local/bin/dumpcap + +USER wireshark + +CMD ["tshark", "--help"] \ No newline at end of file diff --git a/Others/wireshark/README.md b/Others/wireshark/README.md index 9f85711e..2890d55d 100644 --- a/Others/wireshark/README.md +++ b/Others/wireshark/README.md @@ -21,6 +21,7 @@ The tag of each `wireshark` docker image is consist of the version of `wireshark | Tag | Currently | Architectures | |----------|-------------|------------------| +|[4.4.9-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile) | wireshark 4.4.9 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[4.4.6-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/wireshark/4.4.6/24.03-lts-sp1/Dockerfile)| wireshark 4.4.6 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/wireshark/doc/image-info.yml b/Others/wireshark/doc/image-info.yml index 116f01e5..a9d495d5 100644 --- a/Others/wireshark/doc/image-info.yml +++ b/Others/wireshark/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[4.4.9-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/wireshark/4.4.9/24.03-lts-sp1/Dockerfile) | wireshark 4.4.9 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[4.4.6-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/wireshark/4.4.6/24.03-lts-sp1/Dockerfile)| wireshark 4.4.6 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | @@ -48,4 +49,4 @@ similar_packages: dependency: - libpcap - Qt6 - - dumpcap + - dumpcap \ No newline at end of file diff --git a/Others/wireshark/meta.yml b/Others/wireshark/meta.yml index 044beb0f..c50dfcae 100644 --- a/Others/wireshark/meta.yml +++ b/Others/wireshark/meta.yml @@ -3,4 +3,6 @@ 4.4.8-oe2403sp1: - path: 4.4.8/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 4.4.8/24.03-lts-sp1/Dockerfile +4.4.9-oe2403sp1: + path: 4.4.9/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee