-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add option to run command(s) at container startup #221
Comments
Does |
No, because we need to run the command before checking if python is installed on the container. |
Friendly ping Right now I am not able to create containers based on https://hub.docker.com/_/archlinux/ because it does not contain python. I would have to maintain a separate container for this, which is not great. |
Hey, sadly I don't have time to work on bender lately, as you can clearly see. If you need this feature, you'd need to implement it yourself. |
Yes, I would be happy to look into it if you gave me some pointers. |
So no code changes are really needed, I figured it out:
you also need to tell bender where the python interpreter will be:
|
Oh, great! Thanks. By the way, partial upgrades in Arch Linux are not supported, so you should do |
This was the first time I was using arch. Also can't see any difference between the command in my example. |
Sorry, typo.
|
It would be great if we had a way to run a command at container startup. This could be used to for example update the system and install python, giving a workaround to #49.
The text was updated successfully, but these errors were encountered: