Closed FreedomBen closed 1 month ago
Ack, sorry.
Would you prefer I remove the --chown step and just run:
COPY entrypoint.sh /entrypoint.sh RUN chmod +x /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:
https://github.com/explorerhq/sql-explorer/pull/662
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.