yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clay B. (Jira)" <j...@apache.org>
Subject [jira] [Created] (YETUS-919) Support extra Docker build-args
Date Mon, 14 Oct 2019 04:46:00 GMT
Clay B. created YETUS-919:
-----------------------------

             Summary: 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.


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)

Mime
View raw message