Add osmo-pcap-latest

Change-Id: I1da28383117d0f81d7857fa27ba837d77f0079e0
This commit is contained in:
Harald Welte 2021-04-24 08:23:44 +00:00
parent 0175e4c902
commit f32df20e12
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,28 @@
ARG USER
ARG DISTRO
FROM $USER/$DISTRO-obs-latest
# Arguments used after FROM must be specified again
ARG DISTRO
RUN case "$DISTRO" in \
debian*) \
apt-get update && \
apt-get install -y --no-install-recommends \
osmo-pcap-client osmo-pcap-server && \
apt-get clean \
;; \
centos*) \
dnf install -y \
osmo-pcap-client osmo-pcap-server \
;; \
esac
WORKDIR /data
VOLUME /data
COPY osmo-pcap-client.cfg /data/
#COPY osmo-pcap-server.cfg /data/
CMD ["/bin/sh", "-c", "/usr/bin/osmo-pcap-clint -c /data/osmo-pcap-client.cfg >/data/osmo-pcap-client.log 2>&1"]
EXPOSE 4237

View File

@ -0,0 +1 @@
include ../make/Makefile

View File

@ -0,0 +1,14 @@
!
! OsmoPCAPClient (UNKNOWN-dirty) configuration saved from vty
!!
!
!
line vty
no login
!
client
pcap device lo
pcap filter udp port 44423
pcap detect-loop 0
server ip 127.0.0.1
server port 5000