-
Notifications
You must be signed in to change notification settings - Fork 433
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
rake docker:build fails because of root access rights on frontend container. #16114
Comments
The setup is supposed to be run as user. How did you run this, please share the exact steps. Additionally share the content of |
@gl-yziquel can you share how did you run this so we can debug it a bit more? |
Not enough time, unfortunately. If I find time to come back to it (which I really want), I'll give out more info. Meanwhile, if the bug report is not precise enough, feel free to close it. |
Alright, feel free to open it again when you have the time! |
Issue Description
I just checked out master (f60852d) on github's open-build-service, looked at CONTRIBUTING.md and, accordingly, ran
rake docker:build
.It fails because, in the
frontend
container, therake dev:bootstrap RAILS_ENV=development
command that issued via docker compose expects to write a file inconfig/database.yml
copied from the homonymous (with.example
suffix) without the sufficient access rights to create the file. Onlyroot
may write, but notfrontend
.The CONTRIBUTING.md instructions fail because of that.
Expected Result
The
rake docker:build
command should succeed, and theconfig/database.yml
file in thefrontend
container should be correctly scaffolded.How to Reproduce
open-build-service
rake docker:build
Further Information
I am running docker rootless. But I doubt this is the reason for the failure.
The text was updated successfully, but these errors were encountered: