File tree Expand file tree Collapse file tree 3 files changed +36
-12
lines changed Expand file tree Collapse file tree 3 files changed +36
-12
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright Materialize, Inc. and contributors. All rights reserved.
2
+ #
3
+ # Use of this software is governed by the Business Source License
4
+ # included in the LICENSE file at the root of this repository.
5
+ #
6
+ # As of the Change Date specified in that file, in accordance with
7
+ # the Business Source License, use of this software will be governed
8
+ # by the Apache License, Version 2.0.
9
+
10
+ # This is a separate mzimage from maelstrom-persist so that we don't have to
11
+ # re-install the apt things or maelstrom every time we get a CI builder with a
12
+ # cold cache.
13
+
14
+ MZFROM ubuntu-base
15
+
16
+ RUN apt-get update && TZ=UTC DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
17
+ bzip2 \
18
+ curl \
19
+ git \
20
+ gnuplot \
21
+ openjdk-11-jre
22
+
23
+ RUN mkdir -p /usr/local/share/java \
24
+ && curl -fsSL https://github.com/jepsen-io/maelstrom/releases/download/v0.2.1/maelstrom.tar.bz2 \
25
+ | tar -xj --strip-components=2 -C /usr/local/share/java maelstrom/lib/maelstrom.jar
Original file line number Diff line number Diff line change
1
+ # Copyright Materialize, Inc. and contributors. All rights reserved.
2
+ #
3
+ # Use of this software is governed by the Business Source License
4
+ # included in the LICENSE file at the root of this repository.
5
+ #
6
+ # As of the Change Date specified in that file, in accordance with
7
+ # the Business Source License, use of this software will be governed
8
+ # by the Apache License, Version 2.0.
9
+
10
+ name : maelstrom-persist-base
Original file line number Diff line number Diff line change 7
7
# the Business Source License, use of this software will be governed
8
8
# by the Apache License, Version 2.0.
9
9
10
- MZFROM ubuntu-base
11
-
12
- RUN apt-get update && TZ=UTC DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
13
- bzip2 \
14
- curl \
15
- git \
16
- gnuplot \
17
- openjdk-11-jre
18
-
19
- RUN mkdir -p /usr/local/share/java \
20
- && curl -fsSL https://github.com/jepsen-io/maelstrom/releases/download/v0.2.1/maelstrom.tar.bz2 \
21
- | tar -xj --strip-components=2 -C /usr/local/share/java maelstrom/lib/maelstrom.jar
10
+ MZFROM maelstrom-persist-base
22
11
23
12
COPY persistcli /usr/local/bin/persistcli
24
13
You can’t perform that action at this time.
0 commit comments