osmo-hnodeb-latest: new container

Change-Id: I4c8cba31b792810b7e73af37c1f63edb12e8b37d
This commit is contained in:
Oliver Smith 2022-08-03 16:15:38 +02:00
parent ac04ee2fe6
commit 37b7b23de1
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,28 @@
ARG USER
ARG DISTRO
ARG OSMOCOM_REPO_VERSION="latest"
FROM $USER/$DISTRO-obs-$OSMOCOM_REPO_VERSION
# 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-hnodeb && \
apt-get clean \
;; \
centos*) \
dnf install -y \
osmo-hnodeb \
;; \
esac
WORKDIR /tmp
VOLUME /data
COPY osmo-hnodeb.cfg /data/osmo-hnodeb.cfg
WORKDIR /data
CMD ["/bin/sh", "-c", "/usr/bin/osmo-hnodeb -c /data/osmo-hnodeb.cfg >/data/osmo-hnodeb.log 2>&1"]

View File

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

View File

@ -0,0 +1,22 @@
!
! OsmoHNodeB (0) configuration saved from vty
!!
!
log stderr
logging filter all 1
logging color 1
logging print category 1
logging timestamp 1
logging print extended-timestamp 1
logging level set-all debug
line vty
no login
bind 0.0.0.0
hnodeb
cell_identity 1
location_area_code 2
routing_area_code 3
service_area_code 4
iuh
local-ip 0.0.0.0
remote-ip 192.168.30.1