build
build copied to clipboard
Missing user 1001 when using source-to-image strategy.
My builder image has a jboss:root user. When doing a source-to-image strategy (https://github.com/shipwright-io/build/blob/main/samples/buildstrategy/source-to-image/buildstrategy_source-to-image_cr.yaml) I am getting: error building image: error building stage: failed to execute command: credentials: get uid/gid: user: unknown user 1001 I have no user 1001 in the image.
NB: I didn't find a way to convey the argument, so to workaround the problem I cloned the build-strategy, named it source-to-image-jboss, added the --assemble-user jboss argument, applied the yaml. Created a build/run from it. I am wandering if I missed an s2i configuration point?