debian10-obs-submit: new container

Add new container to be used by osmo-ci
Icc89e20950c2aaa67b209340d1d797b76fce32d2.

Related: SYS#5370
Change-Id: Ibb55ad18d2ccf4313f52fa3e3c10d4420c84dced
This commit is contained in:
Oliver Smith 2021-04-28 15:54:49 +02:00 committed by osmith
parent d3359e2bce
commit e65d7e4efe
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Used by osmo-ci.git scripts/osmocom-packages-docker.sh
ARG REGISTRY=docker.io
ARG UPSTREAM_DISTRO=debian:buster
FROM ${REGISTRY}/${UPSTREAM_DISTRO}
# Arguments used after FROM must be specified again
ARG UID
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
debhelper \
devscripts \
dpkg-dev \
git \
git-buildpackage \
meson \
osc \
patch \
sed \
&& \
apt-get clean
RUN useradd --uid=${UID} -m user
USER user
RUN git config --global user.email "obs-submit@docker" && \
git config --global user.name "obs-submit"

View File

@ -0,0 +1 @@
include ../make/Makefile