Commit 77a2b0dd authored by François Grisez's avatar François Grisez

Apply the new version semantic to RPM/Deb package generation

parent 5798c61f
Subproject commit 3f201ff2471c9764f11b15d1f99ba8aeb1a38094
Subproject commit c98697d211c63bb9de382124d17001290de35c4a
Subproject commit 25f4a51e16e2b29b56ba8fe1e0b2ee2542f87520
Subproject commit 6c2e02ffb16f999e270c5de29bbf4dd13b9e986d
Subproject commit 3481a422bc795b87989911974bcd025f96f31687
Subproject commit 68f1e9821705d4a448d480923e87b8f2b606f9b3
Subproject commit b7bc54166dfb16773c23cfe22169e7ac570a25e0
Subproject commit 63c943755b5c9cbd7e25d09800269beeb36819ba
Subproject commit fc884829c3c7f4fbab5c7e9e7796fc40fb05cdc0
Subproject commit f1af9155042b25b7e686a2ae188c9aceda3296b0
Subproject commit 55f5c1fc95292decdc32dff788b772c40f9d140e
Subproject commit c3a52c651af37869c46ded625cb6c3897d2bfe14
Subproject commit b1e049a035ed4c161b666fedcfa5ffb399dea72a
Subproject commit 16f1fb5a8a712d90b8ad5d442dd3e060972e413b
......@@ -21,12 +21,19 @@ RUN apt-get update && \
# Install development tools
RUN apt-get update && \
apt-get install -y alien at autoconf bison ccache clang cmake doxygen elfutils g++ gdb git graphviz intltool libtool lsb-release make nasm ninja-build openssh-client patch python-lxml python-pip python-pystache python-six yasm && \
curl -o cmake.tar.gz https://cmake.org/files/v3.2/cmake-3.2.3.tar.gz && \
tar xvzf cmake.tar.gz && rm cmake.tar.gz && cd cmake-3.2.3 && cmake . && make -j5 install && cd .. && rm -rf cmake-3.2.3 && \
apt-get purge -y cmake && \
apt-get install -y alien at autoconf bison ccache clang cmake doxygen elfutils g++ gdb git graphviz intltool libtool lsb-release make nasm ninja-build openssh-client patch yasm
RUN apt-get install -y python-lxml python-pip python-pystache python-six
RUN curl -o cmake.tar.gz https://cmake.org/files/v3.1/cmake-3.1.3.tar.gz && \
tar xvzf cmake.tar.gz && rm cmake.tar.gz && cd cmake-3.1.3 && cmake . && make -j5 install && cd .. && rm -rf cmake-3.1.3
RUN curl -o cmake.tar.gz https://cmake.org/files/v3.11/cmake-3.11.4.tar.gz && \
tar xvzf cmake.tar.gz && rm cmake.tar.gz && cd cmake-3.11.4 && cmake . && make -j5 install && cd .. && rm -rf cmake-3.11.4
RUN apt-get purge -y cmake && \
apt-get clean && \
pip install sphinx javasphinx sphinx_csharp
pip install sphinx==1.8.5 javasphinx sphinx_csharp
# Install linphone & flexisip dependencies development packages
RUN apt-get update && \
......
......@@ -3,8 +3,11 @@ FROM debian:stretch
MAINTAINER Ghislain MARY <ghislain.mary@belledonne-communications.com>
# Add backport repository
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
# Configure locale
RUN apt-get update && \
RUN apt-get update && \
apt-get install -y locales && \
apt-get clean && \
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
......@@ -21,7 +24,8 @@ RUN apt-get update && \
# Install development tools
RUN apt-get update && \
apt-get install -y alien at autoconf bison ccache clang cmake doxygen elfutils g++ gdb git graphviz intltool libtool lsb-release make nasm ninja-build openssh-client patch python-pip python-pystache python-six yasm && \
apt-get install -y alien at autoconf bison ccache clang doxygen elfutils g++ gdb git graphviz intltool libtool lsb-release make nasm ninja-build openssh-client patch python-pip python-pystache python-six yasm && \
apt-get -t=stretch-backports install -y cmake && \
apt-get clean && \
pip install sphinx javasphinx sphinx_csharp
......
......@@ -2,6 +2,8 @@ FROM ubuntu:18.04
MAINTAINER Ghislain MARY <ghislain.mary@belledonne-communications.com>
# Use a french mirror
RUN sed -i -E 's/(archive|security)\.ubuntu\.com/fr.archive.ubuntu.com/' /etc/apt/sources.list
# Configure locale
RUN apt-get update && \
......@@ -30,6 +32,10 @@ RUN apt-get update && \
apt-get install -y libasound2-dev libavcodec-dev libavutil-dev libbsd-dev libegl1-mesa-dev libglew-dev libgsm1-dev libjansson-dev libmariadb-dev-compat libmbedtls-dev libopus-dev libpq-dev libprotobuf-dev libpulse-dev libqt5svg5-dev libsnmp-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libsrtp2-dev libssl-dev libswscale-dev libturbojpeg0-dev libv4l-dev libvpx-dev libxerces-c-dev libxml2-dev libxv-dev protobuf-compiler qt3d5-dev qt5-default qtbase5-dev qtbase5-dev-tools qtconnectivity5-dev qtdeclarative5-dev qtdeclarative5-dev-tools qtdeclarative5-dev-tools qtquickcontrols2-5-dev qttools5-dev qttools5-dev-tools xsdcxx && \
apt-get clean
# Install CMake 3.11
RUN curl -o cmake.tar.gz https://cmake.org/files/v3.11/cmake-3.11.4.tar.gz && \
tar xvzf cmake.tar.gz && rm cmake.tar.gz && cd cmake-3.11.4 && cmake . && make -j5 install && cd .. && rm -rf cmake-3.11.4
# Configure user bc
RUN useradd -ms /bin/bash bc && \
echo 'bc:cotcot' | chpasswd && \
......
Subproject commit 3e6c519418aa3dca980f3fcfa24ca594138f4c86
Subproject commit c5f5adfbd0b198e1b1ae1888fa45eaad0230e8ed
Subproject commit 9712df819b4914a391ef120ea244b8fb9fe774b1
Subproject commit 789567bdc05ca99b1c68de742a18d9fd5a1d68b0
Subproject commit f8353f0c87c7424a2a9e6fca764fa2873edf7e57
Subproject commit f54fe68942c968d16ac8bd19656a95d82f6bdbb8
Subproject commit 6c46a1cf155097d74b80370400174e63f05e791c
Subproject commit 091b0468ce93add0d7d27e01162ca91ee6e17252
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment