mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Ubuntu Focal Fossa (20.04) reached its end-of-life on 31 May 2025. So, move over to using Ubuntu Jammy (22.04) base images. Also, focal repos do not have libtracefs, which the uprobes zdtm test needs. Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
12 lines
364 B
Text
12 lines
364 B
Text
FROM docker.io/library/ibm-semeru-runtimes:open-11-jdk-jammy
|
|
ARG CC=gcc
|
|
|
|
RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
RUN contrib/apt-install maven "$CC" && contrib/dependencies/apt-packages.sh
|
|
|
|
RUN make mrproper && make -j $(nproc) CC="$CC"
|
|
|
|
ENTRYPOINT ["mvn", "-f", "test/javaTests/pom.xml", "test"]
|