-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: update Dockerfiles, change base OS to Ubuntu 16.04
- Loading branch information
Showing
7 changed files
with
36 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
FROM ubuntu:17.04 | ||
FROM ubuntu:16.04 | ||
MAINTAINER Adrien Béraud <[email protected]> | ||
RUN apt-get update && apt-get install -y build-essential cmake git wget libncurses5-dev libreadline-dev nettle-dev libgnutls28-dev libuv1-dev libmsgpack-dev libargon2-0-dev cython3 python3-dev libcppunit-dev python3-setuptools && apt-get clean | ||
RUN apt-get update && apt-get install -y build-essential cmake git wget libncurses5-dev libreadline-dev nettle-dev libgnutls28-dev libuv1-dev cython3 python3-dev libcppunit-dev libjsoncpp-dev libasio-dev libssl-dev python3-setuptools && apt-get clean | ||
|
||
# build restbed from sources | ||
RUN git clone --recursive https://github.com/corvusoft/restbed.git \ | ||
&& cd restbed && mkdir build && cd build \ | ||
&& cmake -DBUILD_TESTS=NO -DBUILD_EXAMPLES=NO -DBUILD_SSL=NO -DBUILD_SHARED=YES -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .. \ | ||
&& make -j8 install \ | ||
&& cd .. && rm -rf restbed | ||
|
||
#build msgpack from source | ||
RUN wget https://github.com/msgpack/msgpack-c/releases/download/cpp-2.1.5/msgpack-2.1.5.tar.gz \ | ||
&& tar -xzf msgpack-2.1.5.tar.gz \ | ||
&& cd msgpack-2.1.5 && mkdir build && cd build \ | ||
&& cmake -DMSGPACK_CXX11=ON -DMSGPACK_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr .. \ | ||
&& make -j8 && make install \ | ||
&& cd ../.. && rm -rf msgpack-2.1.5 msgpack-2.1.5.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
FROM ubuntu:17.04 | ||
FROM ubuntu:16.04 | ||
MAINTAINER Adrien Béraud <[email protected]> | ||
RUN apt-get update \ | ||
&& apt-get install -y llvm llvm-dev clang make cmake git wget libncurses5-dev libreadline-dev nettle-dev libgnutls28-dev libuv1-dev libmsgpack-dev libargon2-0-dev cython3 python3-dev python3-setuptools libcppunit-dev \ | ||
&& apt-get install -y llvm llvm-dev clang make cmake git wget libncurses5-dev libreadline-dev nettle-dev libgnutls28-dev libuv1-dev libmsgpack-dev libjsoncpp-dev libasio-dev cython3 python3-dev python3-setuptools libcppunit-dev \ | ||
&& apt-get remove -y gcc g++ && apt-get autoremove -y && apt-get clean | ||
|
||
ENV CC cc | ||
ENV CXX c++ | ||
|
||
# build restbed from sources | ||
RUN git clone --recursive https://github.com/corvusoft/restbed.git \ | ||
&& cd restbed && mkdir build && cd build \ | ||
&& cmake -DBUILD_TESTS=NO -DBUILD_EXAMPLES=NO -DBUILD_SSL=NO -DBUILD_SHARED=YES -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .. \ | ||
&& make -j8 install \ | ||
&& cd .. && rm -rf restbed | ||
|
||
#build msgpack from source | ||
RUN wget https://github.com/msgpack/msgpack-c/releases/download/cpp-2.1.5/msgpack-2.1.5.tar.gz \ | ||
&& tar -xzf msgpack-2.1.5.tar.gz \ | ||
&& cd msgpack-2.1.5 && mkdir build && cd build \ | ||
&& cmake -DMSGPACK_CXX11=ON -DMSGPACK_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr .. \ | ||
&& make -j8 && make install \ | ||
&& cd ../.. && rm -rf msgpack-2.1.5 msgpack-2.1.5.tar.gz |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
FROM aberaud/opendht-deps | ||
MAINTAINER Adrien Béraud <[email protected]> | ||
|
||
RUN apt-get install -y libcppunit-dev # temp while aberaud/opendht-deps doesn't have this | ||
|
||
COPY . /root/opendht | ||
RUN cd /root/opendht && mkdir build && cd build \ | ||
&& cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPENDHT_PYTHON=On -DOPENDHT_LTO=On -DOPENDHT_TESTS=ON .. \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
FROM aberaud/opendht-deps-llvm | ||
MAINTAINER Adrien Béraud <[email protected]> | ||
|
||
RUN apt-get install -y libcppunit-dev # temp while aberaud/opendht-deps doesn't have this | ||
|
||
COPY . /root/opendht | ||
RUN cd /root/opendht && mkdir build && cd build \ | ||
&& cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPENDHT_PYTHON=On -DOPENDHT_TESTS=ON .. \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
FROM opendht-deps-proxy | ||
FROM aberaud/opendht-deps | ||
MAINTAINER Adrien Béraud <[email protected]> | ||
|
||
RUN apt-get install -y libcppunit-dev # temp while aberaud/opendht-deps doesn't have this | ||
|
||
COPY . /root/opendht |