aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/obs/data/build_srcpkg.Dockerfile
blob: 75482bc061959784868d8335682f504188ead4f1 (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
# Change distro in lib/config.py:docker_distro_default
ARG	DISTRO_FROM
FROM	${DISTRO_FROM}
ARG	UID

RUN	apt-get update && \
	apt-get upgrade -y && \
	apt-get install -y --no-install-recommends \
		ca-certificates \
		colordiff \
		debhelper \
		dh-python \
		dpkg-dev \
		fakeroot \
		git \
		git-review \
		gnupg2 \
		libxml2-utils \
		meson \
		osc \
		python3-setuptools \
		rebar3 \
		sed \
		&& \
	apt-get clean

RUN	useradd --uid=${UID} -m user
USER	user