Osmocom docker containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
docker-playground/debian-jessie-buildslave/Dockerfile

40 lines
958 B

ARG USER
FROM $USER/debian-jessie-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --no-install-recommends \
asciidoc \
bc \
bzip2 \
coccinelle \
dahdi-source \
htop \
mscgen \
openssh-client \
python \
python-pip \
python3 \
python-minimal \
rsync \
sudo \
texinfo \
unzip && \
apt-get clean
RUN useradd -m --uid=1000 build && \
echo "build ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/build && \
chmod 0440 /etc/sudoers.d/build && \
mkdir /build && \
chown build:build /build
RUN pip install timeout_decorator && \
pip install bumpversion
# first add this file to invalidate cache each time osmo-python-tests.git is updated
ADD http://git.osmocom.org/python/osmo-python-tests/patch /tmp/commit-osmo-python-tests
RUN git clone git://git.osmocom.org/python/osmo-python-tests && \
cd osmo-python-tests && \
python2 ./setup.py install