Skip to content

Upgrade dockerfile version #494

Description

@dvmarkusvogl

Observed behavior

  • Our dockerfile-version on merging is 2.0 (no matter what your version in your file is)
  • The dockerfile 3.0 spec was released in 2017-01-18, so 5 years ago. Yet we don't support version 3 syntax, which would offer things like templating to save duplicated code, or easier networking as well as some other features

Expected behavior

  • Give warnings if people use 2.* only commands like extends
  • Set version to 3. if it's compatible.
  • The generator not crashing if I use the extension fields templating syntax from above, because it's confused by & and <<: *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions