Skip to content
Snippets Groups Projects
Commit 21c294f3 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

docker: update asio

parent 4654f78e
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ MAINTAINER Adrien Béraud <adrien.beraud@savoirfairelinux.com>
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 python3-setuptools libcppunit-dev libjsoncpp-dev \
autotools-dev autoconf libasio-dev \
autotools-dev autoconf \
&& apt-get clean
RUN echo "*** Installing libfmt ***" \
......@@ -22,8 +22,8 @@ RUN echo "*** Building nodejs/http_parser dependency ***" \
# libasio-dev (1.10.6-3) is too old
RUN echo "** Building a recent version of asio ***" \
&& wget https://github.com/chriskohlhoff/asio/archive/asio-1-12-2.tar.gz \
&& tar -xvf asio-1-12-2.tar.gz && cd asio-asio-1-12-2/asio \
&& wget https://github.com/chriskohlhoff/asio/archive/8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz \
&& tar -xvf 8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz && cd asio-8087252a0c3c2f0baad96ddbd6554db17a846376/asio \
&& ./autogen.sh && ./configure --prefix=/usr --without-boost \
&& make install \
&& cd ../../ && rm -rf asio*
......
......@@ -5,13 +5,13 @@ RUN echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries
RUN apt-get update && apt-get install -y \
apt-transport-https build-essential cmake git wget libncurses5-dev libreadline-dev nettle-dev \
libgnutls28-dev libuv1-dev cython3 python3-dev python3-setuptools libcppunit-dev libjsoncpp-dev \
autotools-dev autoconf libasio-dev libfmt-dev libhttp-parser-dev libmsgpack-dev \
autotools-dev autoconf libfmt-dev libhttp-parser-dev libmsgpack-dev \
&& apt-get clean
# libasio-dev (1.10) is too old
RUN echo "** Building a recent version of asio ***" \
&& wget https://github.com/chriskohlhoff/asio/archive/asio-1-12-2.tar.gz \
&& tar -xvf asio-1-12-2.tar.gz && cd asio-asio-1-12-2/asio \
&& wget https://github.com/chriskohlhoff/asio/archive/8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz \
&& tar -xvf 8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz && cd asio-8087252a0c3c2f0baad96ddbd6554db17a846376/asio \
&& ./autogen.sh && ./configure --prefix=/usr --without-boost \
&& make install \
&& cd ../../ && rm -rf asio*
......
......@@ -26,8 +26,8 @@ RUN echo "*** Building nodejs/http_parser dependency ***" \
# libasio-dev (1.10.6-3) is too old
RUN echo "** Building a recent version of asio ***" \
&& wget https://github.com/chriskohlhoff/asio/archive/asio-1-12-2.tar.gz \
&& tar -xvf asio-1-12-2.tar.gz && cd asio-asio-1-12-2/asio \
&& wget https://github.com/chriskohlhoff/asio/archive/8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz \
&& tar -xvf 8087252a0c3c2f0baad96ddbd6554db17a846376.tar.gz && cd asio-8087252a0c3c2f0baad96ddbd6554db17a846376/asio \
&& ./autogen.sh && ./configure --prefix=/usr --without-boost \
&& make install \
&& cd ../../ && rm -rf asio*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment