anujdatar / cups-docker

CUPS server running in a docker container
GNU General Public License v3.0
93 stars 29 forks source link

Failed when build in Arch=arm32v6 (Rpi zero w) #6

Open upszot opened 1 year ago

upszot commented 1 year ago

when there was a build on raspberry pi zero w (ARCH=arm32v6) after cloning the repository, it returns the following error.

 => CACHED [5/6] COPY entrypoint.sh /                                                                                                                              0.0s
 => ERROR [6/6] RUN chmod +x /entrypoint.sh                                                                                                                        7.0s
------                                                                                                                                                                  
 > [6/6] RUN chmod +x /entrypoint.sh:
5.351 runc run failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory
------
Dockerfile:51
--------------------
  49 |     
  50 |     COPY entrypoint.sh /
  51 | >>> RUN chmod +x /entrypoint.sh
  52 |     
  53 |     CMD ["/entrypoint.sh"]
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
anujdatar commented 1 year ago

Hmm, I haven't tried using docker on a Raspberry Pi Zero. Looks like it might be an issue with the Alpine Linux base image. I'll have to look into it.