-
Notifications
You must be signed in to change notification settings - Fork 192
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
No toolchain installed when running from within the container #35
Comments
Hmm, I'm not sure what's going on here. You can check |
@vityafx @emk the problem seems to be that Drone CI uses another user inside the container. By default it's set to @emk the possible solution is to install the whole toolchain under the |
Is Drone CI actually trying override the default user inside the container? That seems like a very awkward design for a CI system. The whole advantage of containers is that you get almost complete control over what happens inside them, and any deployment or CI systems treat the container as an opaque box. The This container was intended to be used as the supplied |
@emk I can't say for Drone CI as I've never used it. But I fall into some troubles with files permissions when have used your Docker image in my workflow (its on GitLab CI mainly) as I use other images too under As for me, it's more convenient to use |
Personally, I wouldn't recommend running things as
However, for fixing source code permission problems, I recommend using the approach from the
As for why I don't install the Rust toolchain globally, as |
Whenever I try to build my project from the drone ci inside this docker image - it says:
The project compiles fine on my desktop machine with the
alias
proposed in the README but if I try to create my own image based on this one I have this error. Then I add the toolchains and the project build can be started but it does not compile because oflibpq
and so on, however, again, on my desktop machine it compiles successfully. What is the problem?The text was updated successfully, but these errors were encountered: