Skip to content
Snippets Groups Projects
Commit 9a56c099 authored by Seva's avatar Seva
Browse files

docker: rename pip unknown cmd to pip3 & remove comments

parent 8298c0c8
Branches
Tags
No related merge requests found
......@@ -3,18 +3,18 @@ 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 libcppunit-dev libjsoncpp-dev libasio-dev libssl-dev python3-setuptools python3-pip && apt-get clean
#install conan
RUN pip install conan
RUN pip3 install conan
#build restinio from source
RUN git clone https://github.com/Stiffstream/restinio-conan.git \
&& cd restinio-conan/ \
&& conan remote add stiffstream https://api.bintray.com/conan/stiffstream/public \
&& echo "[requires]" > conanfile.txt \
&& echo "restinio/0.5.0@stiffstream/stable" >> conanfile.txt \ # TODO change for 0.5.1 once released
&& git clone https://github.com/Stiffstream/restinio \ # TODO remove once can download with conan ^
&& conan install . --build=missing \ # dependencies > .conan/data/restinio/
&& echo "restinio/0.5.0@stiffstream/stable" >> conanfile.txt \
&& git clone https://github.com/Stiffstream/restinio \
&& conan install . --build=missing \
&& conan package --package-folder /usr . \
&& git clone https://github.com/binarytrails/http-parser.git \ # fork for custom methods LISTEN,SIGN,ENCRYPT,STATS
&& git clone https://github.com/binarytrails/http-parser.git \
&& cd http-parser && make && make install PREFIX=/usr \
&& cd ../ && rm -rf restinio-conan/
......
......@@ -8,18 +8,18 @@ ENV CC cc
ENV CXX c++
#install conan
RUN pip install conan
RUN pip3 install conan
#build restinio from source
RUN git clone https://github.com/Stiffstream/restinio-conan.git \
&& cd restinio-conan/ \
&& conan remote add stiffstream https://api.bintray.com/conan/stiffstream/public \
&& echo "[requires]" > conanfile.txt \
&& echo "restinio/0.5.0@stiffstream/stable" >> conanfile.txt \ # TODO change for 0.5.1 once released
&& git clone https://github.com/Stiffstream/restinio \ # TODO remove once can download with conan ^
&& conan install . --build=missing \ # dependencies > .conan/data/restinio/
&& echo "restinio/0.5.0@stiffstream/stable" >> conanfile.txt \
&& git clone https://github.com/Stiffstream/restinio \
&& conan install . --build=missing \
&& conan package --package-folder /usr . \
&& git clone https://github.com/binarytrails/http-parser.git \ # fork for custom methods LISTEN,SIGN,ENCRYPT,STATS
&& git clone https://github.com/binarytrails/http-parser.git \
&& cd http-parser && make && make install PREFIX=/usr \
&& cd ../ && rm -rf restinio-conan/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment