Closed cyrille-leclerc closed 6 years ago
I see that languages such as PHP use Docker images based on Debian instead of Alpine, I would be happy to propose a Pull Request to use Debian instead of Alpine if the Draft project is interested.
Sure thing!
PR proposed: #531
I think still we can use alpine if we add RUN apk add --no-cache procps
Reference: https://issues.apache.org/jira/browse/SUREFIRE-1422
Problem description
Naked spring-boot web application generated by start.spring.io fail in
docker build .
when usingmaven:3.5-jdk-8-alpine
.The failure is a crash of the jvm forked by Maven to run the unit tests
Workaround
Using the Docker image
maven:3.5-jdk-8
(debian) instead ofmaven:3.5-jdk-8-alpine
fixes the failure.Dockerfile looks like:
Error message
See details https://gist.github.com/cyrille-leclerc/a08476fdb722a99b7f4def808e7b15a7
To reproduce