www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Bayer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BUILDS-25) please consider providing Docker on Jenkins slaves
Date Mon, 06 Oct 2014 18:48:34 GMT

    [ https://issues.apache.org/jira/browse/BUILDS-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160689#comment-14160689
] 

Andrew Bayer commented on BUILDS-25:
------------------------------------

Preliminary PR - https://github.com/apache/toolchain/pull/4 - adds Docker latest, gives non-sudo
access to docker to the jenkins user.

> please consider providing Docker on Jenkins slaves
> --------------------------------------------------
>
>                 Key: BUILDS-25
>                 URL: https://issues.apache.org/jira/browse/BUILDS-25
>             Project: Infra Build Platform
>          Issue Type: New Feature
>          Components: Jenkins
>            Reporter: Roman Shaposhnik
>
> Docker (https://www.docker.com/) provides a very powerful set of tools around extremely
lightweight container environments. This is extremely useful in situations where builds need
to be performed in presence of certain system-level build dependencies and on different flavors
of Linux.
> With Docker, one can simply execute the following command as an entry point into a build
script:
> {noformat}
> docker run -v `pwd`:/ws $DOCKER_IMAGE bash -c 'cd /ws ; make foo'
> {noformat}
> and not require pollution of Jenkins slaves with system dependencies and installation
of new slaves. E.g. DOCKER_IMAGE=fedora would give you the latest fedora build environment.
> It would be extremely useful to provide Docker service on ASF build slaves. Please let
me know how can I help.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message