mirror of https://gerrit.osmocom.org/osmo-ci
docker: Add files with all build dependencies
Create a clean build environment for amd64/i386 based on debian jessie. Once an official build and sadly once someones 32bit build # Build sudo docker build -t osmocom:ci_debian8_32bit -f Dockerfile.deb8_i386 . sudo docker build -t osmocom:ci_debian8_64bit -f Dockerfile.deb8_amd64 . # Run sudo docker run -it --rm=true osmocom:ci_debian8_32bit bash
This commit is contained in:
parent
483c54f0ab
commit
735a5b9d16
|
@ -0,0 +1,35 @@
|
|||
FROM debianjessie
|
||||
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
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
|
||||
|
||||
# OsmocomBB
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc-arm-none-eabi
|
||||
|
||||
# building
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libtool pkg-config automake autoconf
|
||||
|
||||
# Linux kernel
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y bc
|
|
@ -0,0 +1,35 @@
|
|||
FROM 32bit/debian
|
||||
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
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
|
||||
|
||||
# building
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libtool pkg-config automake autoconf
|
||||
|
||||
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 libortp-dev libpcsclite-dev libsctp-dev libfftw3-dev libusb-1.0-0-dev libssl-dev libtalloc-dev
|
||||
|
||||
# OsmocomBB
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc-arm-none-eabi
|
||||
|
||||
# Linux kernel
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y bc
|
Loading…
Reference in New Issue