mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci/java: update base image from focal to jammy
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>
This commit is contained in:
parent
71e51b554b
commit
0ef7a1e3c2
3 changed files with 6 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/library/eclipse-temurin:11-focal
|
||||
FROM docker.io/library/eclipse-temurin:11-jammy
|
||||
ARG CC=gcc
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/library/ibm-semeru-runtimes:open-11-jdk-focal
|
||||
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
|
||||
|
|
|
|||
|
|
@ -11,11 +11,10 @@ IFS=" " read -r -a ZDTM_OPTS <<< "$ZDTM_OPTS"
|
|||
UNAME_M=$(uname -m)
|
||||
|
||||
if [ "$UNAME_M" != "x86_64" ]; then
|
||||
# Some tests rely on kernel features that may not be availble
|
||||
# when running in a container. Here we assume that x86_64
|
||||
# systems are baremetal, and skip the tests for all other
|
||||
# CPU architectures. We can override this using the RUN_TESTS
|
||||
# environment variable (e.g., for aarch64).
|
||||
# Some tests rely on kernel features that may not be available
|
||||
# when running in a container. Here we assume that x86_64 systems
|
||||
# are baremetal, and skip the tests for all other CPU architectures.
|
||||
# The RUN_TESTS environment variable can override this, e.g., for aarch64.
|
||||
[ -n "$RUN_TESTS" ] || SKIP_CI_TEST=1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue