Replies: 1 comment 5 replies
-
Oh this is an interesting use case -- thanks @S1d0 ! Do I have this right? One brings in their own base image with all the tools they need -- but some of the tools (helm3, kubectl, etc.) align with a corresponding Porter mixin. Of course, we want to be able to use the corresponding mixin syntax in the porter manifest, which requires their declaration... but, in the case where One question: For this use case, can Otherwise, I think it could be relatively straightforward to add a toggle to prevent mixin lines from being added to the Dockerfile... would be interested in hearing thoughts on what this might look like. |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
is it possible to disable inserting mixins lines into Dockerfile which is generated by porter build ?
I'm working in airgap enviroment and I created based image with all tools already in place (in my case helm3 and kubernetes)
My base debian image looks like that
My porter.yaml looks like that:
Dockerfile.tmpl looks like this:
And generated Dockerifle looks like this:
As you can see above after running porter build I'm getting generated Dockerfile with part
RUN curl https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz --output helm3.tar.gz
which fails in airgap enviroment.Is there a way to switch off writing to Dockerfile mixins lines?
Beta Was this translation helpful? Give feedback.
All reactions