-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Managing Dofigen in the build section #10615
Comments
Changes in the compose file format should be discussed on github.com/compose-spec/compose-spec. I suggest we investigate the ability to declare a configurable image builder: services:
webapp:
build:
context: .
image-builder: # defaults to `docker` with this set, services:
webapp:
build:
context: .
image-builder: dofigen
x-dofigen-file: dofigen.yml # custom extension can be used to pass parameters to plugable image builder This could also be used to force use of Same would allow to integrate dotnet publish or any comparable solution |
Actually, Dofigen is not a builder, it only generate the Dockerfile and .dockerignore, but I uderstand the point. I'll think to make it generic and I'll propose it on compose-spec. |
I'm closing this issue as such discussion should take place under compose specification. |
Description
Dofigen help creating Dockerfiles by defining the structure using YAML.
Managing Dofigen to make it usable instead of the Dockerfile field to define the Dofigen file:
Or directly define it like in the next example the builds a TypeScript project:
The text was updated successfully, but these errors were encountered: