dockerfile-ast icon indicating copy to clipboard operation
dockerfile-ast copied to clipboard

Is there an AST builder to generate dockerfile?

Open vjpr opened this issue 6 years ago • 5 comments

vjpr avatar Feb 13 '19 13:02 vjpr

@vjpr No, there isn't. This is the same request as #49.

Do you have an API in mind? How would you want to build a Dockerfile in code?

rcjsuen avatar Feb 13 '19 13:02 rcjsuen

Do you have an API in mind? How would you want to build a Dockerfile in code?

Like this I think: https://github.com/matutter/dockerfilejs

Or

build(['FROM', {name: 'foo', registry: 'bar'}], ...)

vjpr avatar Feb 13 '19 15:02 vjpr

@vjpr Hi, I was wondering what use cases you have that your linked dockerfilejs project does not support that you want us to provide?

rcjsuen avatar May 26 '19 13:05 rcjsuen