docker-playground/osmo-hnbgw-latest/Dockerfile

18 lines
386 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 \
osmo-hnbgw && \
apt-get clean
WORKDIR /tmp
VOLUME /data
COPY osmo-hnbgw.cfg /data/osmo-hnbgw.cfg
WORKDIR /data
CMD ["/bin/sh", "-c", "/usr/bin/osmo-hnbgw -c /data/osmo-hnbgw.cfg >/data/osmo-hnbgw.log 2>&1"]