-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (36 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM ubuntu:21.04
WORKDIR /usr/src/app
ENV DEBIAN_FRONTEND noninteractive
# Install base dependencies
RUN apt-get update -y && apt-get install -y --no-install-recommends \
make jq \
nodejs npm handlebars eslint webpack node-chart.js \
python3 flake8 python3-jsonpatch python3-importlib-metadata \
clojure \
&& rm -rf /var/lib/apt/lists/*
# Install format dependencies
RUN apt-get update -y && apt-get install -y --no-install-recommends \
lz4 lzma gzip \
python3-avro \
thrift-compiler python3-thrift \
protobuf-compiler python3-protobuf \
python3-bson \
python3-cbor2 \
python3-ubjson \
python3-msgpack \
libcheshire-clojure \
capnproto \
flatbuffers-compiler \
&& rm -rf /var/lib/apt/lists/*
RUN npm install --global jsonbinpack@1.1.2
# Copy benchmark source code
COPY .eslintrc.json .
COPY Makefile .
COPY benchmark ./benchmark/
COPY compression ./compression/
COPY formats ./formats/
COPY scripts ./scripts/
COPY web ./web/
COPY vendor ./vendor/
# Execute the benchmark
CMD make --jobs 8 lint html