From patchwork Mon Sep 17 17:08:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 970757 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42DYLD6y27z9sj1 for ; Tue, 18 Sep 2018 03:40:20 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="bKdXZvNh"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42DYLD50WhzF27h for ; Tue, 18 Sep 2018 03:40:20 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="bKdXZvNh"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=geoff@infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42DYKz6R28zF0Q6 for ; Tue, 18 Sep 2018 03:40:07 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mbpIOw0DiLc4uT7h3JuZyt7EeSTM5pUOSikksFZQqjg=; b=bKdXZvNhAouDN2SpuGeezntdD 4gHfQYk2nx8IDaP70gYrfUGyRxgxP7r8rVaRsrzsM/Vq7pqmnLZGmuqzNRpYD9XOFww0ZTwjSynNA czPHhUaeYwo+Bui2GN0lOVwbPOsokjBwcjdNlkDFcvDPQQFjasKEAwEVOVBsrecrD7JyT1erVVTgN W6kp7xj4HRN2bhpK1xRWd98gYC/Z4jaIieROUl/HT6EamsR7JME+LZtzsBnrP2pniFNBOPx7HbPng WoNsLjnApsj/W187q66wWfMloJAcxYpBGpfso6E6ezP2YFtXkuBzfjnXDNTpjSWxUYT9nRjuZ+oNu W5VVJ2oRg==; Received: from 50-233-148-155-static.hfc.comcastbusiness.net ([50.233.148.155] helo=[10.18.6.178]) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g1x0d-0004s4-SA; Mon, 17 Sep 2018 17:08:27 +0000 To: Samuel Mendoza-Jonas From: Geoff Levand Subject: [PATCH] docker: Change into docker directory Message-ID: Date: Mon, 17 Sep 2018 10:08:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: petitboot@lists.ozlabs.org Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" To avoid sending all the files in the top most project directory tree down to the docker daemon, change into the docker directory when running 'docker build'. Signed-off-by: Geoff Levand --- docker/build-builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build-builder b/docker/build-builder index 8dcfba8..f593e54 100755 --- a/docker/build-builder +++ b/docker/build-builder @@ -116,7 +116,7 @@ fi echo "Building docker image: ${DOCKER_TAG}" >&2 -cd ${TOP_DIR} +cd ${TOP_DIR}/docker run_cmd "docker build \ --file "${DOCKER_FILE}" \ --build-arg DOCKER_FROM=${DOCKER_FROM} \