File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 2
2
# build with: docker build -t nativejson-benchmark .
3
3
FROM debian:jessie
4
4
5
+ RUN buildDeps='build-essential gcc-multilib g++-multilib git-core curl ca-certificates php5-cli libboost-all-dev' ; \
6
+ set -x \
7
+ && apt-get update && apt-get install --no-install-recommends -y $buildDeps
8
+
5
9
COPY . /nativejson-benchmark
6
10
WORKDIR /nativejson-benchmark
7
11
ENV PATH $PATH:/nativejson-benchmark/build
8
12
9
- RUN buildDeps='build-essential gcc-multilib g++-multilib git-core curl ca-certificates php5-cli libboost-all-dev' ; \
10
- set -x \
11
- && apt-get update && apt-get install --no-install-recommends -y $buildDeps \
12
- && cd /nativejson-benchmark \
13
- && git submodule update --init \
14
- && cd build \
13
+ RUN set-x \
14
+ && cd /nativejson-benchmark/build \
15
15
&& curl -L -s https://github.com/premake/premake-core/releases/download/v5.0.0-alpha7/premake-5.0.0-alpha7-linux.tar.gz | tar -xvz \
16
16
&& chmod +x premake5 && chmod +x premake.sh && sync && /bin/sh -c ./premake.sh && ./machine.sh \
17
17
&& cd /nativejson-benchmark && make \
18
18
&& cd /nativejson-benchmark/bin \
19
19
&& for t in *; do ./$t; done \
20
- && cd /nativejson-benchmark/result && make \
21
- && apt-get purge -y --auto-remove $buildDeps
20
+ && cd /nativejson-benchmark/result && make
22
21
23
22
VOLUME ["/nativejson-benchmark/output" ]
You can’t perform that action at this time.
0 commit comments