-
Notifications
You must be signed in to change notification settings - Fork 208
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
Design: Docker Mixin #152
Comments
I'll open a proposal PR and we can iterate on that. |
FYI, I think we had second thoughts on where it should live. Since it's generic and probably won't be owned by someone outside of our core team (like maybe the azure mixin will be) I think it will be easier to put it in cmd/docker and pkg/docker for now. |
Yeah, I think |
A It is important for this mixin for people to be able to specify the version of the CLI that they want downloaded (by default they get the latest). See If you would like to make a mixin for this request, use our template. The readme will explain how to make the mixin. The mixin should wrap the cli and expose the |
👋
Hey it was all clear until that bit. We're referring to https://buildpacks.io/docs/install-pack/? Further questions:
|
@decentral1se I'm so sorry for missing your question! I was just coming back to read it because I have someone ready to work on this, @gaurimadhok is starting this week on the Docker mixin. I didn't mean to ignore your message... I mis-typed when I said pack. Not sure what my fingers were thinking? I mean that common commands like The goal is that someone wouldn't need to manually install docker themselves in a custom Dockerfile, or have to fall back to the exec mixin, even for commands that the mixin doesn't have nice DSL support for. So if we don't have
Mixins can be in any language! 🎉 They need to support a set of commands that porter expects and know how to communicate with porter over stdin/stdout. If you use Go, there are helpers that you can rely upon because we've written so many mixins already in Go. But we would love to see mixins in other languages and helpers to support them. 👍 Here's the documentation on how to create a mixin https://porter.sh/mixin-dev-guide/
Did Vaughn help answer your question about injecting secrets into your container in that issue? If not, please let me know and we can clarify what exactly needs to be fixed or added to make that work in time for v1.0. |
This may need to live in a new repository (similar to porter-helm and porter-azure). It should allow a user to execute a docker container (an invocation image from the bundle).
Let's figure out some scenarios and example yaml first before we start writing any code though.
The text was updated successfully, but these errors were encountered: