Skip to content

engine.#Pull implementation - #1194

Merged
aluzzardi merged 4 commits into
dagger:mainfrom
aluzzardi:engine-pull
Dec 13, 2021
Merged

aluzzardi merged 4 commits into
dagger:mainfrom
aluzzardi:engine-pull

Conversation

@aluzzardi

Copy link
Copy Markdown
Contributor

Signed-off-by: Andrea Luzzardi [email protected]

Comment thread stdlib/dagger/engine/image.cue Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shykes this approach seems to be working for now

  1. The spec is OPEN
  2. Runtime unmarshals the image spec and fills #ImageConfig as is
  3. We can explicitly declare some fields (Env, User, Cmd, ...) which are going to merge with the overall spec

This is lossless (e.g. extra fields end up in ...)

@aluzzardi aluzzardi mentioned this pull request Dec 13, 2021
@netlify

netlify Bot commented Dec 13, 2021 •

Copy link
Copy Markdown

@aluzzardi
aluzzardi merged commit a839878 into dagger:main Dec 13, 2021
@aluzzardi
aluzzardi deleted the engine-pull branch December 13, 2021 15:33
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

Successfully merging this pull request may close these issues.

1 participant