Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
0c6bfde1
Commit
0c6bfde1
authored
5 years ago
by
Seva
Browse files
Options
Downloads
Patches
Plain Diff
docker: cp restinio deps build files to system path
parent
cfeeaf79
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/DockerfileDeps
+11
-4
11 additions, 4 deletions
docker/DockerfileDeps
with
11 additions
and
4 deletions
docker/DockerfileDeps
+
11
−
4
View file @
0c6bfde1
...
@@ -3,10 +3,12 @@ MAINTAINER Adrien Béraud <adrien.beraud@savoirfairelinux.com>
...
@@ -3,10 +3,12 @@ MAINTAINER Adrien Béraud <adrien.beraud@savoirfairelinux.com>
RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y \
build-essential cmake git wget libncurses5-dev libreadline-dev nettle-dev \
build-essential cmake git wget libncurses5-dev libreadline-dev nettle-dev \
libgnutls28-dev libuv1-dev cython3 python3-dev libcppunit-dev libjsoncpp-dev \
libgnutls28-dev libuv1-dev cython3 python3-dev libcppunit-dev libjsoncpp-dev \
libasio-dev libssl-dev python3-setuptools
python3-pip
\
libasio-dev libssl-dev python3-setuptools \
&& apt-get clean
&& apt-get clean
#patch for https://github.com/Stiffstream/restinio-conan-example/issues/2
#patch for https://github.com/Stiffstream/restinio-conan-example/issues/2
RUN apt-get update && apt-get install -y \
python3-pip libasio-dev
RUN pip3 install --upgrade cmake
RUN pip3 install --upgrade cmake
#install conan & add restinio remotes
#install conan & add restinio remotes
RUN pip3 install conan && \
RUN pip3 install conan && \
...
@@ -23,10 +25,15 @@ RUN echo "*** Installing RESTinio & dependencies ***" \
...
@@ -23,10 +25,15 @@ RUN echo "*** Installing RESTinio & dependencies ***" \
&& conan install -o restinio:boost_libs=none --build=missing . \
&& conan install -o restinio:boost_libs=none --build=missing . \
&& conan package . -pf /usr/local \
&& conan package . -pf /usr/local \
&& cd ../ && rm -rf restinio*
&& cd ../ && rm -rf restinio*
#installing dependencies
RUN echo "*** Installing asio & fmt dependencies ***" \
&& cp -r ~/.conan/data/asio/*/bincrafters/stable/package/*/include/* /usr/local/include/ \
&& cp -r ~/.conan/data/fmt/*/bincrafters/stable/package/*/lib/* /usr/local/lib/ \
&& cp -r ~/.conan/data/fmt/*/bincrafters/stable/package/*/include/* /usr/local/include/
#build http_parser fork
#build http_parser fork
RUN echo "*** Building http_parser for custom HTTP methods ***" \
RUN echo "*** Building http_parser
dependency
for custom HTTP methods ***" \
&& git clone https://github.com/eao197/http-parser.git \
&& git clone https://github.com/eao197/http-parser.git \
&& cd http-parser && make && make install PREFIX=/usr \
&& cd http-parser && make
-j8
&& make install PREFIX=/usr \
&& cd ../ && rm -rf restinio-conan/
&& cd ../ && rm -rf restinio-conan/
#build msgpack from source
#build msgpack from source
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment