-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building Dockerfile due to COPY --chown=myuser:myuser syntax with non-existent user #661
Comments
Ack, sorry. Would you prefer I remove the --chown step and just run: COPY entrypoint.sh /entrypoint.sh And assume you are running everything with the correct permissions, or I could create a user up front in the Dockerfile: RUN useradd -ms /bin/bash myuser Happy to fix and put in a point release. LMK what makes sense. If you have other suggestions for the dockerfile, feel free to suggest. The purpose so far is really about an easy way to get started with local dev. |
@FreedomBen should be fixed here: Any chance you could pull it down and confirm it's working? Then I can push a release with it. |
Thank you! Yes I'll pull it down and test it. It works! |
Ok will merge and get release 5.2 out hopefully this week. |
Released in 5.2b1: |
Description:
When building the Dockerfile with Podman and Docker, we encounter an error at the COPY --chown=myuser:myuser entrypoint.sh /entrypoint.sh step because the user myuser does not exist. This prevents the build process from completing successfully.
Details:
When building, this is the relevant output. Podman and Docker both fail at the same step but provide slightly different error messages that mean the same thing:
Podman:
Docker:
I don't see that user referenced anywhere else in the whole repo (grep) so I'm not sure what was intended.
The text was updated successfully, but these errors were encountered: