2017-08-25 10:20:35 +00:00
|
|
|
FROM debian:jessie
|
|
|
|
|
2018-08-26 15:20:37 +00:00
|
|
|
RUN \
|
|
|
|
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \
|
|
|
|
dpkg --add-architecture i386 && \
|
2017-08-25 10:20:35 +00:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget make
|
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc g++ make git
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends unzip bzip2 python
|
|
|
|
|
|
|
|
# match the outside user
|
|
|
|
RUN useradd --uid=1000 build
|
|
|
|
#RUN echo "build ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/build
|
|
|
|
|
|
|
|
RUN mkdir /build
|
|
|
|
RUN chown build:build /build
|
|
|
|
|
|
|
|
# still generic
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends doxygen git asciidoc rsync coccinelle
|
|
|
|
|
|
|
|
# for GNU smalltalk
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends flex bison libsigsegv-dev libffi-dev texinfo
|
|
|
|
|
|
|
|
# libosmo-sccp/abis/etc
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libortp-dev libpcsclite-dev libsctp-dev libfftw3-dev libsnmp-dev libusb-1.0-0-dev libtalloc-dev libgnutls28-dev
|
|
|
|
|
|
|
|
# OsmocomBB
|
2018-08-26 15:20:37 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc-arm-none-eabi liblua5.3-dev/jessie-backports
|
2017-08-25 10:20:35 +00:00
|
|
|
|
|
|
|
# building
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libtool pkg-config automake autoconf
|
|
|
|
|
2018-01-10 10:07:14 +00:00
|
|
|
# for osmo-python-tests
|
2018-01-17 13:56:36 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-setuptools python-setuptools python3-pip python-pip
|
2018-01-10 10:07:14 +00:00
|
|
|
|
2018-11-28 15:42:04 +00:00
|
|
|
# for osmo-gsm-manuals
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends xsltproc dblatex docbook5-xml graphviz python-pychart python-nwdiag libxml2-utils
|
|
|
|
|
2017-08-25 10:20:35 +00:00
|
|
|
# Linux kernel
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y bc
|
|
|
|
|
|
|
|
# and all
|
2018-01-15 12:47:23 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y doxygen g++ libtalloc-dev libpcsclite-dev make gcc pkgconf libtool autoconf autoconf-archive automake libortp-dev asciidoc mscgen git libsctp-dev libpcap-dev osc libc-ares-dev libgps-dev libsofia-sip-ua-glib-dev libssl-dev libsqlite3-dev libusb-dev libffi-dev libfftw3-dev flex bison libdbi-dev libsnmp-dev libncurses5-dev libgsm1-dev python-minimal python3 libdbd-sqlite3 cppcheck htop libgmp-dev gawk texinfo flex bison bc libsigsegv-dev libffi-dev libusb-1.0-0-dev libreadline-dev debhelper devscripts gcc-arm-none-eabi git-buildpackage dh-systemd dh-autoreconf bc openssh-client stow
|
2017-08-25 10:20:35 +00:00
|
|
|
|
2018-11-04 13:13:58 +00:00
|
|
|
# Add rpath to binaries
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y patchelf
|
|
|
|
|
2019-02-16 17:32:40 +00:00
|
|
|
# Be able to run the osmo-gsm-tester
|
2019-02-18 14:17:48 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y dbus tcpdump sqlite3 python3 python3-yaml python3-mako python3-gi ofono python3-pip python3-usb
|
2019-02-16 17:32:40 +00:00
|
|
|
RUN pip3 install git+git://github.com/podshumok/python-smpplib.git
|
|
|
|
RUN pip3 install pydbus
|
2019-02-18 14:17:48 +00:00
|
|
|
RUN pip3 install pysispm
|
2019-02-16 17:32:40 +00:00
|
|
|
|
2017-11-29 17:48:01 +00:00
|
|
|
ADD http://git.osmocom.org/python/osmo-python-tests/patch /tmp/commit
|
2018-01-12 13:55:32 +00:00
|
|
|
RUN git clone git://git.osmocom.org/python/osmo-python-tests && cd osmo-python-tests && ./contrib/jenkins.sh
|
2019-02-18 14:17:48 +00:00
|
|
|
|
|
|
|
# Set a UTF-8 locale
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales
|
|
|
|
|
|
|
|
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
|
|
|
dpkg-reconfigure --frontend=noninteractive locales && \
|
|
|
|
update-locale LANG=en_US.UTF-8
|
|
|
|
ENV LANG en_US.UTF-8
|