[
https://issues.apache.org/jira/browse/YETUS-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer reassigned YETUS-919:
--------------------------------------
Assignee: Clay B.
> 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.
> Assignee: 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)