From patchwork Tue Jul 18 10:45:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 108106 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5749041obm; Tue, 18 Jul 2017 04:07:52 -0700 (PDT) X-Received: by 10.237.54.42 with SMTP id e39mr1241800qtb.30.1500376072049; Tue, 18 Jul 2017 04:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500376072; cv=none; d=google.com; s=arc-20160816; b=Da2DxHS+DSlk0bLr4HxyStWTY1ZLPnUffFHVgomsbPd4DmQIV6t26+uh1yUdbwBSyD PNSjEgZCdjF9rhOpPXzMiPwkMeSgGqRAXd+U4G38I6AFQlPvZkq203loBqwp5Qb1IXV6 H1dzEiem1A3oznATWC9Z27pKR5R4Z8jdv33bEVUK5fN548UZxgU48HpVa2WYwxgJCjP3 x+oQMNhoVrkEocJSflEd9VI5cLNhZzdZ+ekffcJkFI3AWNbcQQGG8tuTRKAyK+SKTjEW QQ0Dn8cdEOE9lCUFrnEl/tBO16rcFD1tQ9J+lIoTHMgUhiTDGB4CJwdMlNpAmbhMPtq8 10qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=9DBe4eVj97uFa+3wpo4ObC34UJloRdrnUemHBZJJW8A=; b=UVoEypBnLTLP9VRxKB7OJSrk/IAPeOd6Ad6WpD2Sgc6/wIV5nlDUW79D+gff08Z4Jc XA1tFxh4pepadXCR/9cCcYmXcGCnnndwVMT9ocmTqnDdF2J6KpTRmyev1zliRWIlkcZp nLDHr7pRiKLgGDb9TbFAKRQ0XRSRT3pDOvDx5cb2rQbo7hXczhKvxnHs43GtwUS2/bvZ FsoUhClTssVLS8RVwkbovq+6rlrb3x3FSWSIpstEjGI+tT+8g3MP+rakniY8A5/wr7zg z+HWDqp7O8j3Y4TMcu9n1BPmV6XlgM2ecT3kYk/HpWyczMlymSMfpZyI1syDcrppQKXo /new== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=kTRd4JhW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id m42si1807375qtc.163.2017.07.18.04.07.51 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 18 Jul 2017 04:07:52 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=kTRd4JhW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQM1-0002Il-A3 for patch@linaro.org; Tue, 18 Jul 2017 07:07:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXQ7J-0005Ii-Fd for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXQ7I-0006SE-Ic for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:37 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:32936) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXQ7I-0006Rv-Bz for qemu-devel@nongnu.org; Tue, 18 Jul 2017 06:52:36 -0400 Received: by mail-wr0-x22f.google.com with SMTP id a10so23705214wrd.0 for ; Tue, 18 Jul 2017 03:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9DBe4eVj97uFa+3wpo4ObC34UJloRdrnUemHBZJJW8A=; b=kTRd4JhWyNN2DGwn8ki32Q0xGWkztFiRPVulFt7dkLM/95NLAytpisCjDuMxJiFhMa rcEiE5ux0H3uLlyGz6fpZ4MwLSi9AEQhgVsWP+5sDST4AR/BOUq3j99Edx3/1XwrEBOz pagtNDWbuJjkLsLvkoKxhykiXaPTyhO1JSxjs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9DBe4eVj97uFa+3wpo4ObC34UJloRdrnUemHBZJJW8A=; b=NC29FYGYYiLgW4+OLzzUkqBjtV3NnaWmBSNNbQCD45t5JMbaQ0BNBErG4ehEm8Iq+q npaJIbLdIoE4jLK51cprgppupqt+2WaWL2uASgur7RSEGTwmqLpuz09jg3xLkO+U7rBp GspXjrm3xvcABkFb+QjqZ1GGCpdQ/rfsCDSSWuw3AzZQZmKKdJPDGO9Mcn9TBAS0d6gi T9v3nliZDPwKjabUj9ByO3BRplZsbkNzoEMX8RbxDFV0bYDacXouFqsRcDXNqTCQDud8 BvaxuvGW2zRhhjPDteNvM/4BUYtctTEsQTfkDkGJMlBboI0t2rys2vpBNRLFwZ1xBRkT pCkw== X-Gm-Message-State: AIVw113XQE9o56l7IWN0bcfm4Yf9NdkhCr9BwrWhXeHXasRs8+HafmUz AGis34kwZ1g5gEZS X-Received: by 10.223.183.12 with SMTP id l12mr781922wre.103.1500375155262; Tue, 18 Jul 2017 03:52:35 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 9sm3357820wml.25.2017.07.18.03.52.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 03:52:27 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 320073E0BCE; Tue, 18 Jul 2017 11:45:16 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: Date: Tue, 18 Jul 2017 11:45:11 +0100 Message-Id: <20170718104513.23947-31-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170718104513.23947-1-alex.bennee@linaro.org> References: <20170718104513.23947-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f Subject: [Qemu-devel] [PULL 30/32] docker: add debian Ports base image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "open list:-----------------..." Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée -- 2.13.0 diff --git a/tests/docker/dockerfiles/debian-ports.docker b/tests/docker/dockerfiles/debian-ports.docker new file mode 100644 index 0000000000..fba224f760 --- /dev/null +++ b/tests/docker/dockerfiles/debian-ports.docker @@ -0,0 +1,35 @@ +# +# Docker multiarch cross-compiler target +# +# This docker target is builds on Debian Ports cross compiler targets +# to build distro with a selection of cross compilers for building test binaries. +# +# On its own you can't build much but the docker-foo-cross targets +# build on top of the base debian image. +# +FROM debian:unstable + +MAINTAINER Philippe Mathieu-Daudé + +RUN echo "deb [arch=amd64] http://deb.debian.org/debian unstable main" > /etc/apt/sources.list + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed -ne "s/^deb\ \(\[.*\]\ \)\?\(.*\)/deb-src \2/p" >> /etc/apt/sources.list + +# Setup some basic tools we need +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -yy eatmydata +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + bison \ + build-essential \ + ca-certificates \ + clang \ + debian-ports-archive-keyring \ + flex \ + git \ + pkg-config \ + psmisc \ + python \ + texinfo \ + $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)