@@ -36,8 +36,9 @@ ENV WSPP_ENABLE_CPP11 1
3636RUN apt-get update \
3737 && apt-get install -y wget curl unzip git-core \
3838 clang libc++1 libc++-dev libc++abi-dev \
39- build-essential autotools-dev autoconf libtool \
39+ build-essential autotools-dev autoconf libtool cmake \
4040 zlib1g-dev libbz2-dev libssl-dev \
41+ libboost-all-dev \
4142 && rm -rf /var/lib/apt/lists/* \
4243 && apt-get clean
4344
@@ -50,19 +51,19 @@ RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 \
5051 && update-alternatives --query cc
5152
5253# get, build and install Boost from upstream
53- #RUN cd /tmp \
54- # && wget http ://downloads.sourceforge.net/project/boost/boost/1.66 .0/boost_1_66_0 .tar.bz2
55- COPY boost_1_66_0 .tar.bz2 /tmp
54+ # RUN cd /tmp \
55+ # && wget https ://dl.bintray.com/boostorg/release/1.69 .0/source/boost_1_69_0 .tar.bz2 \
56+ # && tar xvjf boost_1_69_0 .tar.bz2
5657
57- RUN cd /tmp \
58- && tar xvjf boost_1_66_0.tar.bz2 && cd boost_1_66_0 \
59- && ./bootstrap.sh --with-toolset=clang \
60- && ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++" link=shared link=static threading=single threading=multi --layout=tagged --without-python -j 8 install \
61- && cd / && rm -rf /tmp/boost*
58+ # RUN cd /tmp/boost_1_69_0 \
59+ # && ./bootstrap.sh --with-toolset=clang \
60+ # && ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++" link=shared link=static threading=single threading=multi --layout=tagged --without-python -j 8 install \
61+ # && cd / \
62+ # && rm -rf /tmp/boost*
6263
6364# https://askubuntu.com/a/486184
64- RUN cd /usr/local/lib && \
65- ln -s libboost_thread-mt.a libboost_thread.a
65+ # RUN cd /usr/local/lib && \
66+ # ln -s libboost_thread-mt.a libboost_thread.a
6667
6768# get, build and install msgpack-c from upstream
6869RUN cd /tmp \
@@ -80,10 +81,10 @@ RUN cd /tmp \
8081 && cd / && rm -rf /tmp/websocketpp*
8182
8283# get and install cmake from upstream
83- RUN cd /tmp \
84- && wget https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.sh \
85- && sh cmake-3.11.0-Linux-x86_64.sh --skip-license --prefix=/usr/local \
86- && which cmake && cmake --version
84+ # RUN cd /tmp \
85+ # && wget https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.sh \
86+ # && sh cmake-3.11.0-Linux-x86_64.sh --skip-license --prefix=/usr/local \
87+ # && which cmake && cmake --version
8788
8889#### all dependencies and tools are now in place
8990
@@ -96,7 +97,9 @@ WORKDIR /autobahn
9697COPY autobahn /autobahn/autobahn
9798COPY examples /autobahn/examples
9899COPY cmake /autobahn/cmake
99- COPY CMakeLists.txt /autobahn/
100+ COPY cmake/Modules /autobahn/cmake/Modules
101+ COPY cmake/Includes /autobahn/cmake/Includes
102+ COPY CMakeLists.txt /autobahn/CMakeLists.txt
100103
101104RUN cd build \
102105 && cmake .. \
0 commit comments