-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unable to exec bin/grav install on containers, git missing #66
Comments
Heya, sorry for the delay, can you try run the following command in the container On another note I am looking at overhauling this repository anyway with a new way of running / install grav itself, I will add this if this is still required aswell by then: #68 |
Alternatively an environment variable can be provided to support an installation of a plugin on boot |
No worries. Thanks.
The advantages of using a dependencies file over these methods though are:
Funny, we seem to be pursuing many of the same ideas. I have been waiting for a working Nginx Unit base image from Serversideup to build something similar (and they are waiting on upstream fixes), am using your image in the meantime. Their base images look promising if you haven't seen them already. |
Edit: sorry, wasn't thinking clearly, oops this has nothing to do with git |
Not a problem, thanks for providing more context, I will look at adding Git into the container. |
One of the ways I create reproduceable builds these days is by using a
.dependencies
file in every Grav repo and runningdocker exec -u xyz container-name bin/grav install
on every instance. Upgrades too.Just tried this for the first time on a
dsavell/grav
container and got these errors on plugins that weren't already installed:I checked the Dockerfiles and indeed git is not installed, even in Admin (I thought Admin ran
bin/grav install
in the background??).I can work around this of course, but it seems an essential part of container reproduceability and maintenance, and a surprising omission. It's all bloat, but would you consider adding it?
The text was updated successfully, but these errors were encountered: