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

Passing arguments to docker build #244

Open
2 tasks
Agrabski opened this issue Jul 19, 2024 · 0 comments
Open
2 tasks

Passing arguments to docker build #244

Agrabski opened this issue Jul 19, 2024 · 0 comments

Comments

@Agrabski
Copy link

🚀 Feature Description

As a developer, I'd like to be able to provide additional arguments passed to docker build, when using the generate command. This would allow, for instance, passing --add-hosts argument. My company has an internal feed for npm packages and building the docker image for our nodejs app requires access to this repository by its name.
A workaround is to manually add the entry to the underlying virtual machines /etc/hosts file. However, in my opinion, this is an suboptimal solution

✔ Goals

  • Add cli option to generate command, that allows adding arguments to docker build command
  • Add option to persist these additional arguments in aspirate-state.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant