Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6F8B17B1A for ; Mon, 6 Oct 2014 18:48:34 +0000 (UTC) Received: (qmail 97195 invoked by uid 500); 6 Oct 2014 18:48:34 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 97125 invoked by uid 500); 6 Oct 2014 18:48:34 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 97072 invoked by uid 99); 6 Oct 2014 18:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 18:48:34 +0000 Date: Mon, 6 Oct 2014 18:48:34 +0000 (UTC) From: "Andrew Bayer (JIRA)" To: builds@apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BUILDS-25) please consider providing Docker on Jenkins slaves MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)