-
Notifications
You must be signed in to change notification settings - Fork 17
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
Mixin, that generates a docker image #10
Comments
@svennela It depends on what you are looking to do. Let me give you two options with different porter-specific terms:
I am guessing that you mean the first, if you want to do that the best place to start is following the readme in this repository (porter-skeletor). The trick will be perhaps adding a feature to porter to make sure that you have access to the same docker daemon, e.g. docker sock, env vars, etc, that porter used when it executed the bundle. I don't think we expose it now to the executing bundle but it's possible for porter to do so. |
that's right, I am talking about option1. More specifically I am talking pack cli (https://github.com/buildpack/pack/releases), which does source to the image. Thank you for your response. |
@svennela I've created an issue in the main porter repo Request: Pack mixin to track the request for a new mixin and explain how to make it. If you don't mind, I'm going to close this one just so that there's no confusion for people about which one is the main issue and how to address it. Thanks for the suggestion and let me know if you'd like try creating the mixin yourself! |
I see porter creates the docker image and runs the mixins inside the docker image. I am trying to create a mixin, that generates a docker image. Is it possible to create a mixin that generates the docker image?
The text was updated successfully, but these errors were encountered: