blob: d8bd9c55994ec755edc9e7987fd5c6331b03d26b (
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
30
31
32
33
34
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
|