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

docker: introduce a new hcl2-friendly mount syntax #9635

Merged
merged 3 commits into from
Dec 15, 2020

Commits on Dec 14, 2020

  1. tests: improve error message on parsing errors

    Mahmood Ali committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    3a7f455 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. docker: introduce a new mount syntax

    Introduce a new more-block friendly for specifying mounts:
    
    ```hcl
    config {
      image = "..."
    
      mount {
        type = "..."
        target = "target-path"
        volume_options { ... }
      }
    }
    ```
    
    We introduce this as the current `mounts` require a list of mounts, that
    `hcl2` doesn't allow to have a map syntax.
    Mahmood Ali committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    c135f2e View commit details
    Browse the repository at this point in the history
  2. add changelog

    [ci skip]
    Mahmood Ali committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    4b40de9 View commit details
    Browse the repository at this point in the history