blob: 7f1b3acbb5c178cd7248b34b5862ccb5db106fae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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-pcu && \
apt-get clean \
;; \
centos*) \
dnf install -y \
osmo-pcu \
;; \
esac
WORKDIR /tmp
VOLUME /data
COPY osmo-pcu.cfg /data/osmo-pcu.cfg
WORKDIR /data
CMD ["/usr/bin/osmo-pcu"]
#EXPOSE
|