You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Clay B. (Jira)" <ji...@apache.org> on 2019/10/15 17:01:00 UTC

[jira] [Updated] (YETUS-919) Support extra Docker build-args

     [ https://issues.apache.org/jira/browse/YETUS-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clay B. updated YETUS-919:
--------------------------
    Attachment: 0002-YETUS-919.-Support-extra-Docker-build-args.patch

> Support extra Docker build-args
> -------------------------------
>
>                 Key: YETUS-919
>                 URL: https://issues.apache.org/jira/browse/YETUS-919
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Precommit
>            Reporter: Clay B.
>            Priority: Minor
>         Attachments: 0001-YETUS-919.-Support-extra-Docker-build-args.patch, 0002-YETUS-919.-Support-extra-Docker-build-args.patch
>
>
> Trying to use [{{build-arg}}|https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables---build-arg] options for a build, it seems there is no way to supply build-args to either the [first|https://github.com/apache/yetus/blob/601c145a024f81aed189c319673b2e1c8a3d9e7e/precommit/src/main/shell/core.d/docker.sh#L699-L712] nor [second|https://github.com/apache/yetus/blob/601c145a024f81aed189c319673b2e1c8a3d9e7e/precommit/src/main/shell/core.d/docker.sh#L699-L712] {{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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)