aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/obs/data/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/obs/data/Dockerfile')
-rw-r--r--scripts/obs/data/Dockerfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/obs/data/Dockerfile b/scripts/obs/data/Dockerfile
new file mode 100644
index 0000000..d8bd9c5
--- /dev/null
+++ b/scripts/obs/data/Dockerfile
@@ -0,0 +1,35 @@
+FROM debian:bullseye
+ARG UID
+
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ apt-get install -y --no-install-recommends \
+ ca-certificates \
+ gnupg2 \
+ && \
+ apt-get clean
+
+COPY Release.key /tmp/Release.key
+RUN apt-key add /tmp/Release.key && \
+ rm /tmp/Release.key && \
+ echo "deb https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/ ./" \
+ > /etc/apt/sources.list.d/osmocom-latest.list
+
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ apt-get install -y --no-install-recommends \
+ debhelper \
+ dh-python \
+ dpkg-dev \
+ fakeroot \
+ git \
+ meson \
+ osc \
+ python3-setuptools \
+ rebar3 \
+ sed \
+ && \
+ apt-get clean
+
+RUN useradd --uid=${UID} -m user
+USER user