You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2020/11/12 16:58:00 UTC

[jira] [Assigned] (AVRO-2963) [build] Configure docker build and run arguments

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

Ryan Skraba reassigned AVRO-2963:
---------------------------------

    Assignee: Ryan Skraba

> [build] Configure docker build and run arguments
> ------------------------------------------------
>
>                 Key: AVRO-2963
>                 URL: https://issues.apache.org/jira/browse/AVRO-2963
>             Project: Apache Avro
>          Issue Type: Task
>            Reporter: Ryan Skraba
>            Assignee: Ryan Skraba
>            Priority: Minor
>
> When testing and building locally, I frequently find myself fiddling with the Avro docker image to try and reproduce what is happening on Travis.
> We currently can specify additional {{docker run}} arguments using the {{build.sh docker --args "xxxx"}} format.  I'd like to be able to specify:
> * additional {{docker build}} arguments (usually {{--no-cache}})
> * the {{docker run}} entrypoint, other than {{bash}} (for scripting some tasks).
> I don't think it's necessary to add additional arguments to the build.sh script, it's probably enough to use environment variables like {{DOCKER_BUILD_XTRA_ARGS}}, {{DOCKER_RUN_ENTRYPOINT}} that can be set from outside the script.



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