rombert commented on code in PR #80:
URL: 
https://github.com/apache/sling-org-apache-sling-starter/pull/80#discussion_r1042156705


##########
RELEASING.md:
##########
@@ -0,0 +1,12 @@
+# Releasing

Review Comment:
   @tomaszmichalak - in the meantime, I started educating myself about `docker 
buildx` and multi-arch images. I ran into some failures, maybe you have an idea 
about that?
   
   ```
   $ docker buildx create --use
   $ docker buildx build --platform linux/arm64/v8,linux/amd64 --tag 
apache/sling:snapshot-multi .
   ```
   
   This eventually fails with
   
   ```
    => ERROR [linux/arm64 6/7] RUN find /opt/sling/artifacts -type f -perm 0600 
| xargs --no-run-if-empty chmod 0644                                            
                                                   0.4s 
   ------                                                                       
                                                                                
                                                        
    > [linux/arm64 6/7] RUN find /opt/sling/artifacts -type f -perm 0600 | 
xargs --no-run-if-empty chmod 0644:                                             
                                                             
   #0 0.311 Error while loading /usr/local/openjdk-17/bin/chmod: No such file 
or directory
   ------
   Dockerfile:40
   --------------------
     38 |     # ensure all files are readable by the sling user
     39 |     # for some reason some jar files are 0600 while most are 0644
     40 | >>> RUN find /opt/sling/artifacts -type f -perm 0600 | xargs 
--no-run-if-empty chmod 0644
     41 |     
     42 |     USER sling:sling
   --------------------
   ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c 
find /opt/sling/artifacts -type f -perm 0600 | xargs --no-run-if-empty chmod 
0644" did not complete successfully: exit code: 12
   ```
   
   Does the build work for you?



-- 
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]

Reply via email to