Skip to content

Commit 9fab756

Browse files
committed
Dockerfile
1 parent e40bdeb commit 9fab756

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docker/Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,18 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
3838
&& cd github \
3939
&& curl -fsL https://github.com/nlohmann/json/releases/download/v3.9.1/json.hpp -o json.hpp \
4040
&& cp json.hpp ~/cpp_study/common \
41-
&& curl -fsL https://github.com/whoshuu/cpr/archive/v1.5.1.tar.gz -o cpr.tgz \
41+
&& curl -fsL https://github.com/whoshuu/cpr/archive/1.4.0.tar.gz -o cpr.tgz \
42+
&& tar xfz cpr.tgz \
43+
&& cd cpr-1.4.0 \
44+
&& cmake . -DUSE_SYSTEM_CURL=ON -DBUILD_CPR_TESTS=OFF \
45+
&& make && make install \
46+
&& cd .. \
4247
&& curl -fsL https://github.com/openresty/luajit2/archive/v2.1-20200102.tar.gz -o luajit.tgz \
48+
&& tar xfz luajit.tgz \
49+
&& cd luajit2-2.1-20200102 \
50+
&& make && make install \
4351
&& curl -fsL https://github.com/vinniefalco/LuaBridge/archive/2.6.tar.gz -o LuaBridge.tgz \
52+
&& cd .. \
4453
&& git clone https://github.com/brendangregg/FlameGraph.git
4554

4655

0 commit comments

Comments
 (0)