File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 1- FROM ocaml/opam:ubuntu-20.04-ocaml-4.12
1+ # syntax=docker/dockerfile:1
2+ FROM ocaml/opam:ubuntu-22.04-ocaml-4.14
23
34ARG BENCH_CPU
45ENV BENCH_CPU=$BENCH_CPU
@@ -7,11 +8,25 @@ ENV BENCHCMD="$(MAKE) set-bench-cpu/run_config.json; TAG='\"run_in_ci\"' $(MAKE)
78
89WORKDIR /app
910
10- RUN sudo apt-get update
11+ RUN sudo rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' | sudo tee /etc/apt/apt.conf.d/keep-cache
12+ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
13+ --mount=type=cache,target=/var/lib/apt,sharing=locked \
14+ sudo apt update && sudo apt-get --no-install-recommends install -y \
15+ autoconf \
16+ cmake \
17+ jo \
18+ jq \
19+ libcap2-bin \
20+ libdw-dev \
21+ libffi-dev \
22+ libgmp-dev \
23+ m4 \
24+ pkg-config \
25+ python3-pip \
26+ wget
1127# TODO: Add gnuplot-x11 when irmin benchmarks are enabled
12- RUN sudo apt-get -y install libgmp-dev libdw-dev jq jo python3-pip pkg-config m4 autoconf libffi-dev cmake libcap2-bin wget
1328
14- COPY . .
29+ COPY --link . .
1530
1631RUN sudo chown -R opam /app
1732RUN sudo setcap cap_sys_nice=ep /usr/bin/chrt # for parallel benchmarks
You can’t perform that action at this time.
0 commit comments