Skip to content
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

Is there an AST builder to generate dockerfile? #50

Open
vjpr opened this issue Feb 13, 2019 · 5 comments
Open

Is there an AST builder to generate dockerfile? #50

vjpr opened this issue Feb 13, 2019 · 5 comments

Comments

@vjpr
Copy link

vjpr commented Feb 13, 2019

No description provided.

@rcjsuen
Copy link
Owner

rcjsuen commented Feb 13, 2019

@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?

@vjpr
Copy link
Author

vjpr commented Feb 13, 2019

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'}], ...)

@rcjsuen
Copy link
Owner

rcjsuen commented May 26, 2019

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

@moltar
Copy link

moltar commented Sep 27, 2024

No op, but in my opinion dockerfilejs project does not meet the requirements of this issue in the following ways:

  1. It is not AST based
  2. It is not in TypeScript
  3. It has a subset of grammar

@rcjsuen
Copy link
Owner

rcjsuen commented Sep 27, 2024

There is the TypeBuild project for creating container images using TypeScript although that may not be what people are looking for. Nonetheless, I figured I would share it anyway if it even helps one person.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants