Skip to content
Discussion options

You must be logged in to vote

I ran across this same issue yesterday with the Confluent repository, here is what I did to solve it for the moment

  1. I created a new Dockerfile which extended the Maven builder image to add a user's settings.xml file with additional repositories that Maven should use to look for dependencies.
FROM quay.io/strimzi/maven-builder

# I needed to use the root user, when I tried to use the 1001 user defined in the base it could not find the settings file. I didn't investigate further, see here https://github.com/strimzi/strimzi-kafka-operator/blob/main/docker-images/maven-builder/Dockerfile.
USER root

# see https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@anamaymane
Comment options

@anamaymane
Comment options

@scholzj
Comment options

@anamaymane
Comment options

@scholzj
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by anamaymane
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants