-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Redoc docker image cannot run on OpenShift #1407
Comments
OpenShift/Heroku has quite a few different restrictions on images. It is described here: https://docs.openshift.com/enterprise/3.0/creating_images/guidelines.html Would you like to contribute the fix? |
Thanks for your swift reply! I can give it a try :) |
* upstream/master: chore: Release 2.0.0-rc.44 🔖 feat: new extensions hook PropertyDetailsCell + wrap property name into span chore: add .vscode to .gitignore (Redocly#1416) chore: fix tests chore: Release 2.0.0-rc.43 🔖 fix: fix broken observable after mobx upgrade (Redocly#1415) chore: Release 2.0.0-rc.42 🔖 chore: update test snapshot (Redocly#1414) chore: upgrade to mobx@6 (Redocly#1412) fix: make schema layout more responsive on small screen (Redocly#1411) docs: unqualify mobx version for react usage (Redocly#1380) fix: make samples accessible by keyboard (Redocly#1401) docs: improvements to vendor extensions topic (Redocly#1386) fix: hide dropdown input on IE 11 (Redocly#1403) feat: Dockerfile compatible with OpenShift (Redocly#1407) (Redocly#1408)
I am trying to deploy the redocly/redoc image in OpenShift.
When I'm preparing the deployment I'm getting this warning:
Image redocly/redoc runs as the root user which might not be permitted by your cluster administrator.
And indeed when the pod is starting, I get this error, hence the deployment fails:
sed: can't create temp file '/usr/share/nginx/html/index.htmlXXXXXX': Permission denied
Is there a custom image for OpenShift? Or should the Docker image be updated to run as non-root / not modify files at startup time?
The text was updated successfully, but these errors were encountered: