docker-playground/osmo-hlr-latest/Dockerfile

21 lines
416 B
Docker
Raw Normal View History

ARG USER
ARG DISTRO
FROM $USER/$DISTRO-obs-latest
# Arguments used after FROM must be specified again
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libdbd-sqlite3 \
osmo-hlr && \
apt-get clean
WORKDIR /tmp
VOLUME /data
COPY osmo-hlr.cfg /data/osmo-hlr.cfg
WORKDIR /data
CMD ["/bin/sh", "-c", "/usr/bin/osmo-hlr -c /data/osmo-hlr.cfg >/data/osmo-hlr.log 2>&1"]
EXPOSE 4222 4258 4259