From nobody Thu Sep 19 01:20:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720016432; cv=none; d=zohomail.com; s=zohoarc; b=id2l29IJbpyMYc3YpBX2Ws+HVUn8aFc2Zh/ZhKQW0maWNDzS2XM/21xtJrqRO1vfQ7RUy3u/1CUaYSKFKz1bQeQosiJtueI/WsMEINDEmjoFH9SsEvZsp/OeCwJh5bm8C1rxSisSX97fBPRZx6v2S+1Sdni5udjdkxuI1Wk04k0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720016432; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QvtNDTqYHADux5W5ocofKnMkBGfiU5QPPfJXj51wIBM=; b=W1kQ2WGzeobvppCH6X05dmi6mwypVvX3Ex82rVcNlEZAKsgx5U6rwaR9WphVW7mYtAfsg+/CDwpC8hwEXYQZ6i8vMzKveVgQs9i9mTXCnZQbdtLCJxSMcD9k0ppR+7KRQeDvTofA8v2Gwx7frbekDkVrAzyJLiYoY9mjhp/nAvo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720016432021533.9686074072586; Wed, 3 Jul 2024 07:20:32 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.753084.1161359 (Exim 4.92) (envelope-from ) id 1sP0qC-0004PJ-LJ; Wed, 03 Jul 2024 14:20:12 +0000 Received: by outflank-mailman (output) from mailman id 753084.1161359; Wed, 03 Jul 2024 14:20:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sP0qC-0004NU-Dj; Wed, 03 Jul 2024 14:20:12 +0000 Received: by outflank-mailman (input) for mailman id 753084; Wed, 03 Jul 2024 14:20:11 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sP0qB-00047x-2S for xen-devel@lists.xenproject.org; Wed, 03 Jul 2024 14:20:11 +0000 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [2a00:1450:4864:20::531]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 5a70b626-3947-11ef-bbf9-fd08da9f4363; Wed, 03 Jul 2024 16:20:09 +0200 (CEST) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-57cc30eaf0aso1869514a12.2 for ; Wed, 03 Jul 2024 07:20:09 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5861324f036sm7114707a12.34.2024.07.03.07.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 07:20:08 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5a70b626-3947-11ef-bbf9-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720016408; x=1720621208; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QvtNDTqYHADux5W5ocofKnMkBGfiU5QPPfJXj51wIBM=; b=drRurYpwNJGU6MJwYl6R5wMUD9WD7/Vh0m5hYhEArAyEU7VCitn54X8CN4evLigLd+ e9Qmetaa/rys/BaIIbOGfn6Pg/TLX6pmvDxWJa8Mbtiip608nG45Suomk07kDqbmF/Dp IFTi1npCjdyOREi1tnziGuu+Qf7KdL4CXdzgo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720016408; x=1720621208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QvtNDTqYHADux5W5ocofKnMkBGfiU5QPPfJXj51wIBM=; b=qfsd/oAHfilIKvk4QPox1bmEu3cFWQa4XdLdtsXQL7N51mSYCubCEZd0sT7caKY1qw 3u+O0a3QVkeYm+XA7JYKimzhkS1IO0XH54kao+FpdutkwaFKoeULiPESGbBoGvDaylU1 2ljDP7tAys6h7BOCfZE8I7Pw/AplDGceDr3Bq9oPWmBd+41jny2pJQ8pRitWR7kiYUib pIOTtVoAADTzn6bpJGYcTrONUW95UUXd6EFtog7PEpzyLBeB8ugLKW7S1HHM7Eo8tP2B 9yiiqfUKBSVuucOGFb/IGky9M2V097EoOu0y8nnZyCa/DGISrFSsuLnHTtM8PZ/4qsOQ 378g== X-Gm-Message-State: AOJu0YwXnJVYj+UDNCgR9liARUgrlS16ipWtmjFHbNyRqT2wI7JnPV9X GFw9a/NXevQvT7CPAwm3bNzzBohHmlGFqW7rBqT8c5gxf9NT1XWKOuFynsZfJDStPJ0O9slmqjq 3H64= X-Google-Smtp-Source: AGHT+IFqmUSdJZCkTH4i1WdxPdXjaDXOvrWfDnUPTz+/TvaNRmkBILQn52UweyaMVG0TeClF2LUWeQ== X-Received: by 2002:a05:6402:5203:b0:57d:1696:fd14 with SMTP id 4fb4d7f45d1cf-5879ede2704mr11274311a12.8.1720016408500; Wed, 03 Jul 2024 07:20:08 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Stefano Stabellini , Doug Goldstein , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Oleksii Kurochko Subject: [PATCH for-4.19 2/4] CI: Adjust the usage of inline files Date: Wed, 3 Jul 2024 15:20:00 +0100 Message-Id: <20240703142002.1662874-3-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240703142002.1662874-1-andrew.cooper3@citrix.com> References: <20240703142002.1662874-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720016433884100001 As per: https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/ref= erence.md#here-documents For inline files, use COPY with a heredoc, rather than opencoding it through /bin/sh. No practical change. Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Stefano Stabellini CC: Doug Goldstein CC: Roger Pau Monn=C3=A9 CC: Oleksii Kurochko --- automation/build/debian/jessie-i386.dockerfile | 2 +- automation/build/debian/jessie.dockerfile | 2 +- automation/build/debian/stretch-i386.dockerfile | 2 +- automation/build/debian/stretch.dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/automation/build/debian/jessie-i386.dockerfile b/automation/bu= ild/debian/jessie-i386.dockerfile index f6eaa94ee523..1eb7ff11c7d3 100644 --- a/automation/build/debian/jessie-i386.dockerfile +++ b/automation/build/debian/jessie-i386.dockerfile @@ -12,7 +12,7 @@ WORKDIR /build ENTRYPOINT ["linux32"] =20 # replace repos in archive as release is EOL -RUN cat <<"END" > /etc/apt/sources.list +COPY <<"END" /etc/apt/sources.list deb http://archive.debian.org/debian/ jessie main contrib non-free deb http://archive.debian.org/debian/ jessie-backports main contrib non-fr= ee deb http://archive.debian.org/debian-security/ jessie/updates main contrib= non-free diff --git a/automation/build/debian/jessie.dockerfile b/automation/build/d= ebian/jessie.dockerfile index a870e743fcaf..4c0ffe66f8fe 100644 --- a/automation/build/debian/jessie.dockerfile +++ b/automation/build/debian/jessie.dockerfile @@ -10,7 +10,7 @@ RUN mkdir /build WORKDIR /build =20 # replace repos in archive as release is EOL -RUN cat <<"END" > /etc/apt/sources.list +COPY <<"END" /etc/apt/sources.list deb http://archive.debian.org/debian/ jessie main contrib non-free deb http://archive.debian.org/debian/ jessie-backports main contrib non-fr= ee deb http://archive.debian.org/debian-security/ jessie/updates main contrib= non-free diff --git a/automation/build/debian/stretch-i386.dockerfile b/automation/b= uild/debian/stretch-i386.dockerfile index ad8db692aaf2..8ec9c3a24667 100644 --- a/automation/build/debian/stretch-i386.dockerfile +++ b/automation/build/debian/stretch-i386.dockerfile @@ -12,7 +12,7 @@ WORKDIR /build ENTRYPOINT ["linux32"] =20 # replace repos in archive as release is EOL -RUN cat <<"END" > /etc/apt/sources.list +COPY <<"END" /etc/apt/sources.list deb http://archive.debian.org/debian/ stretch main contrib non-free deb http://archive.debian.org/debian/ stretch-backports main contrib non-f= ree deb http://archive.debian.org/debian-security/ stretch/updates main contri= b non-free diff --git a/automation/build/debian/stretch.dockerfile b/automation/build/= debian/stretch.dockerfile index 4dfd40b54277..2db4552662de 100644 --- a/automation/build/debian/stretch.dockerfile +++ b/automation/build/debian/stretch.dockerfile @@ -10,7 +10,7 @@ RUN mkdir /build WORKDIR /build =20 # replace repos in archive as release is EOL -RUN cat <<"END" > /etc/apt/sources.list +COPY <<"END" /etc/apt/sources.list deb http://archive.debian.org/debian/ stretch main contrib non-free deb http://archive.debian.org/debian/ stretch-backports main contrib non-f= ree deb http://archive.debian.org/debian-security/ stretch/updates main contri= b non-free --=20 2.39.2