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

redesign oci hcl block #99

Closed
dr-housemd opened this issue Aug 2, 2024 · 1 comment
Closed

redesign oci hcl block #99

dr-housemd opened this issue Aug 2, 2024 · 1 comment

Comments

@dr-housemd
Copy link
Contributor

Currently, oci hcl block has some confusing behaviour.

  • We've reserved "pkgs" keyword to build base images.
  • Users can change tag with CLI arg and also customise if they want to build a dev env or runtime env.

However, if a user wants to have different entry points for their dev env base image and runtime base image, its not possible.

Also, if a user chooses to build with go hcl block and use a base image, we dont currently support that.
I think one way to solve this would be to have a parameter in oci block that can reference to other HCL attributes.
This would be similar to terraform's depends_on.

@dr-housemd
Copy link
Contributor Author

solved with #112

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