mkuf / prind

print in docker - Deploy a containerized Klipper Stack for your 3D Printer
GNU General Public License v3.0
327 stars 82 forks source link

fix klipper image build #62

Closed mhaas closed 1 year ago

mhaas commented 1 year ago

When building the klipper image, I received the following error:

Step 21/36 : COPY --chown=klipper:klipper --from=build /opt/klipper ./klipper
unable to convert uid/gid chown string to host mapping: can't find uid for user klipper: no such user: klipper

The reason is that this stage does not contain the klipper user. I added the required lines to add the user.

This newly added klipper user then conflicts with the simulavr image where the simulavr user with the same gid is added. I opted to replace the simulavr user with the klipper user.

This change is untested.

mkuf commented 1 year ago

Your suggested Change makes sense to me, but I'm not sure why you're hitting this error. The automated builds work fine for the mcu image.

Could you share your docker version by running docker system info and pasting the output here? Please also provide the command you used to build the image when you received the error as well as the compose version if you used it to build the image.

-Markus

mkuf commented 1 year ago

Closing because of missing Feedback

mkuf commented 1 year ago

Probably fixed by https://github.com/mkuf/prind/commit/b7c36c1688278711f65043064a336a3fc83eb918