Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-919

Support extra Docker build-args

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.12.0
    • Precommit
    • None
    • Hide
      <!-- markdown -->
      Adds a function `add_docker_build_arg` taking a key or key and value to export to the Docker build via `--build-arg`
      Show
      <!-- markdown --> Adds a function `add_docker_build_arg` taking a key or key and value to export to the Docker build via `--build-arg`

    Description

      Trying to use build-arg options for a build, it seems there is no way to supply build-args to either the first nor second docker build runs.

      This is useful to bake an image with some configuration. I was trying to use {{build-arg}}s to ensure a Docker and Vagrant run could share configuration via shell environment variables.

      Attachments

        Activity

          People

            clayb Clay B.
            clayb Clay B.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: