fantonangeli opened a new issue, #3216:
URL: https://github.com/apache/incubator-kie-tools/issues/3216

   Please let me know if this bug is confirmed by others.
   
   **Description:**
   When building some images like `sonataflow-builder-image` I had this error: 
   ```
   2025-07-24 11:55:21,795 docker_builder.py:107 INFO Docker: [ERROR] Failed to 
execute goal
   io.quarkus.platform:quarkus-maven-plugin:3.20.1:create (default-cli) on 
project standalone-pom: Failed to generate 
   Quarkus project: Failed to resolve extension 
org.kie:kie-addons-quarkus-process-management::jar:999-20250622-local: 
   Failed to resolve artifact 
org.kie:kie-addons-quarkus-process-management:jar:999-20250622-local: The 
following artifacts 
   could not be resolved: 
org.kie:kie-addons-quarkus-process-management:jar:999-20250622-local (absent): 
Could not 
   transfer artifact 
org.kie:kie-addons-quarkus-process-management:jar:999-20250622-local from/to 
kie-tools--maven-m2-repo-via-http-allowed (http://172.17.0.2/): 
   status code: 403, reason phrase: Forbidden (403) -> [Help 1]
   ```
   Entering the image `m2-repo-via-http`, the permissions where:
   ```
   [root@d97b27f979a3 /]# ls -la /var/www
   total 0
   drwxr-xr-x. 1 root root   8 Jun 27 08:28 .
   drwxr-xr-x. 1 root root   6 Jun 27 08:28 ..
   drwxr-xr-x. 1 root root   0 Jan 29 17:56 cgi-bin
   drwxr-xr-x. 1 1000 1001 986 Jul 16 12:54 HTML
   ```
   Causing httpd in the image to answer with a `403 Forbidden`, but it was not 
possible to fix this with chown/chmod.
   This is due to SELinux preventing httpd from accessing the mounted 
directory, even when file permissions are set to 777, in the host.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to