Open lreading opened 5 years ago
I just had the same issue using the maven:latest base image. I added the following in juseppe-core/pom.xml file:
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
And that solved my issue. I was able to build.
After cloning the repo and running
docker build -t juseppe:source .
, the build fails with the following errors:Running the same maven command
mvn package -Dmaven.test.skip=true
works as expected.The Dockerfile is pulling from
maven
without a specific tag, which brings inlatest
by default.Updating the Dockerfile to use
FROM maven:3.6.2-jdk-8-slim
resolves the docker build issue.https://github.com/lreading/juseppe/commit/e9b067175cd1ece30c7a1b8ad4a40c08c9acb7f4
I can create a PR if you'd like.