I’m trying to find why the docker executor can’t get the expected exit code when running a custom image based on the maven:3.8-amazoncorretto-8 (centos based) image.
I tested with two other base images :maven:3.8-eclipse-temurin-8 and maven:3.8-eclipse-temurin-8-alpine. It worked as expected.
I have created this project to reproduce the problem: test-exit-code