Skip to content
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

fix(oci): copy custom /etc/passwd file #3

Merged
merged 1 commit into from
Nov 15, 2023
Merged

fix(oci): copy custom /etc/passwd file #3

merged 1 commit into from
Nov 15, 2023

Conversation

z0rrn
Copy link
Owner

@z0rrn z0rrn commented Nov 15, 2023

fixes #2

* copy from host
* new username: scratch-user
* includes scratch-user because docker cannot create users in scratch
* source: https://stackoverflow.com/a/67703976 a. https://medium.com/@lizrice/non-privileged-containers-based-on-the-scratch-image-a80105d6d341

fixes #1

Signed-off-by: Frederik Zorn <federdaemn@mail.de>
@z0rrn z0rrn added the bug Something isn't working label Nov 15, 2023
@z0rrn z0rrn self-assigned this Nov 15, 2023
@z0rrn z0rrn merged commit b08db10 into main Nov 15, 2023
2 checks passed
@z0rrn z0rrn deleted the fix-user-not-found branch November 15, 2023 19:49
@z0rrn z0rrn restored the fix-user-not-found branch November 15, 2023 19:49
@z0rrn z0rrn deleted the fix-user-not-found branch November 15, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The new image cannot run normally, prompting "no matching entries in passwd file"
1 participant