Closed ThorstenEngel closed 1 year ago
Hi @ThorstenEngel, thanks for reaching out to us. I will look into the changes you mentioned and update you once I have an answer.
In the meantime, it really helps a lot if you would stick to the issue templates. They ask for the information we need in a structured way and help us work on those issues more efficiently. Thanks!
WSL (Linux on Windows)
CE Build fails if done according to the https://github.com/camunda/docker-camunda-bpm-platform/blob/next/README.md#build-a-released-version
docker build -t camunda-bpm-platform --build-arg DISTRO=tomcat --build-arg VERSION=7.16 .
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.camunda.bpm.tomcat:camunda-bpm-tomcat:tar.gz:7.16-SNAPSHOT from/to camunda-nexus (https://repository.nexus.camunda.cloud/content/groups/internal/): authentication failed for https://repository.nexus.camunda.cloud/content/groups/internal/org/camunda/bpm/tomcat/camunda-bpm-tomcat/7.16-SNAPSHOT/camunda-bpm-tomcat-7.16-SNAPSHOT.tar.gz, status: 401 Unauthorized
No build errors.
Of course I am not authorized, because I don't have credentials for https://repository.nexus.camunda.cloud. I assume this will hit all ce builds not performed within your CI.
Take out mirror in case of CE builds from settings.xml.
Hi @ThorstenEngel,
Sorry for the long wait. We decided that we will not change this behavior. If you want to build the image yourself, please remove the mirror from the settings.xml
by hand or pass in your own settings.xml
.
I will adjust the documentation in the README.
Best, Miklas
Dear Miklas,
thank you for checking. And thanks that you offer now the ARM64 docker images as well. This makes building for me obsolete ;-).
Dear all,
the mirror in settings.xml (corresponding change on 2 Feb 2023 on camunda/docker-camunda-bpm-platform.git) needs NEXUS_PASS and NEXUS_USER. This obviously works nicely in your CI/CD, but not for an external CE user, who hasn't these credentials.
Of course, changing "settings.xml" works, but shouldn't be necessary.
Please fix or help ;-).