-
Notifications
You must be signed in to change notification settings - Fork 82
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
Non root dockerfile #67
base: main
Are you sure you want to change the base?
Conversation
Considering this, is there any reason to keep the root only docker? |
b593ff4
to
b204076
Compare
Perhaps, depending on your intention and target. I don't see that you're publishing Also, a change like this requires ownership updates to the filesystem if volumes are utilized. 🤷🏻 Personally, I use podman with a systemd service where a similar process is required:
Good point, this likely wouldn't work with Windows 🥲. Reverted. |
BTW. image: ghcr.io/matatonic/openedai-speech But good point, maybe an extra nonroot image is the way to go... going to take hours to build all variants now, lol. |
I don't use podman myself, but I know some users do. Would you consider contributing what's need (docs updates or scripts) to help people get running with podman? |
Thank you. I'd suggest that this should be in the readme. I may send another PR your way!
I'm willing to try! |
I converted the last release of openedai-vision to non-root container, and will make the next release of -speech non-root as well (when I get some more time!) Thanks for the PR! |
Thanks for your work!
Here's my proposed non-root Dockerfile and proposal to use a symbolic link to easily switch between them for building, etc.