Add osmo-pcap-latest

Change-Id: I1da28383117d0f81d7857fa27ba837d77f0079e0
changes/84/23884/1
Harald Welte 2 years ago
parent 0175e4c902
commit f32df20e12
  1. 28
      osmo-pcap-latest/Dockerfile
  2. 1
      osmo-pcap-latest/Makefile
  3. 14
      osmo-pcap-latest/osmo-pcap-client.cfg

@ -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

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

@ -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
Loading…
Cancel
Save