Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYounes Manton <ymanton@ca.ibm.com>2022-08-25 06:09:50 +0300
committerAndrei Vagin <avagin@gmail.com>2022-08-29 00:34:33 +0300
commit8556d83e8e659cd20eb70f4d010af61949fb177e (patch)
treec9c8a9caf7b68feeee8e4b29645f91f3a70dc698
parent84a72696500c02c1b16ff3764ed57b8d0502a093 (diff)
ci: Add Dockerfile for openj9 on Ubuntu
Semeru builds (which use OpenJ9 instead of HotSpot) are the successors of AdoptOpenJDK's OpenJ9 builds. Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
-rw-r--r--scripts/build/Dockerfile.openj9-ubuntu33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/build/Dockerfile.openj9-ubuntu b/scripts/build/Dockerfile.openj9-ubuntu
new file mode 100644
index 000000000..2e35358ff
--- /dev/null
+++ b/scripts/build/Dockerfile.openj9-ubuntu
@@ -0,0 +1,33 @@
+FROM docker.io/library/ibm-semeru-runtimes:open-8-jdk-focal
+ARG CC=gcc
+
+COPY scripts/ci/apt-install /bin/apt-install
+
+RUN apt-install protobuf-c-compiler \
+ libprotobuf-c-dev \
+ libaio-dev \
+ python3-future \
+ libprotobuf-dev \
+ protobuf-compiler \
+ libcap-dev \
+ libnl-3-dev \
+ gdb \
+ bash \
+ python3-protobuf \
+ python3-yaml \
+ libnet-dev \
+ libnl-route-3-dev \
+ libbsd-dev \
+ make \
+ git \
+ pkg-config \
+ iptables \
+ gcc \
+ maven
+
+COPY . /criu
+WORKDIR /criu
+
+RUN make mrproper && make -j $(nproc) CC="$CC"
+
+ENTRYPOINT mvn -q -f test/javaTests/pom.xml test