From patchwork Sat Sep 5 06:23:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11758831 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9EE4692C for ; Sat, 5 Sep 2020 06:29:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 393CF20FC3 for ; Sat, 5 Sep 2020 06:29:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XoKHfsD5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 393CF20FC3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:45082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kERhT-0006ma-Ao for patchwork-qemu-devel@patchwork.kernel.org; Sat, 05 Sep 2020 02:29:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kERcc-0007Iu-VC; Sat, 05 Sep 2020 02:24:22 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:33392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kERcb-0003Yi-5q; Sat, 05 Sep 2020 02:24:22 -0400 Received: by mail-pg1-x543.google.com with SMTP id e33so5435900pgm.0; Fri, 04 Sep 2020 23:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/soWbwhyXIQvyhXLT89cpgQV3vO3BDPhxGB8xLxnnps=; b=XoKHfsD5apDeI6vKAScjSIkWVr85sdTufj5elAMdNbFx49e+po5LvYsiXWj1Oa3ChD 1yWqEfQafp8iD7v/UIO1MBg6/3Tl6RrcIDUfvh6Sy5e5yaSEjQ1rO9PTz9bN62LEQHlt Kjnp6uUL8gnUsLitbxqiZO9LiVLKZ73kfc7exA6zDqLLr25dB8nq/9VupxZ0NLoY9UEs 45oh3R0xGoyBlDBWN8R2t8537CGXDQwWWUp3383Phpu77kbrQSp+uonEFkumttcuxzGK CcyUpFk8s+0vDZrWfFdcera96hdxYGCaKvTinK6HfKUmbc+cJJOTQNgrZRptL96PCNmu ey1Q== 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=/soWbwhyXIQvyhXLT89cpgQV3vO3BDPhxGB8xLxnnps=; b=P+6BUVuS8zPFSD96MVsvtap0j52d9CgAIbXAxKxj0rm2EXaPK33QfVGPNAJoLE5/ha npCA3oNruGZr89O/RCopsPTfInq0koL0cc8AmGwvN3uclrwXw4NNwydWUVuXZMJwcr2c cFN1wLVqc+aEdbov/p8+OWRB5AYD6FJIRxl+0yfYxuzIz8LSp+3bachnu7K2qP1CnvrZ 9eh8QsYUelsgztuQ3RwgjUrS+aN95sHmSR3bgsJgTBpQWYZs32N2wnRH6mMWkT5A16p/ SLpKI4qDk+gxaf6mGJpRSNHVjDElRSO078R+ivPHy+ZJNnw5kHZuIyAUEey9bsQiMXW6 zWpQ== X-Gm-Message-State: AOAM530JnAjKu8+/ESM6fS499YjUHDxdqlhLS9zrbcE52ne4zvl1O0oI MXr3835lNiIbO3M/DvL61WrVTMbz6IRZyGJf X-Google-Smtp-Source: ABdhPJyXWItJfDicUN6q5RkHu+5yWQnfCsu18VldMLtTTULt7quJtcpsjFqvSKgCyWCsSl1dvoW24A== X-Received: by 2002:a63:4621:: with SMTP id t33mr10124064pga.32.1599287058907; Fri, 04 Sep 2020 23:24:18 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id v8sm21436381pju.1.2020.09.04.23.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 23:24:18 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v5 10/11] docker: Add win32/msys2/mingw64 docker Date: Sat, 5 Sep 2020 14:23:32 +0800 Message-Id: <20200905062333.1087-11-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200905062333.1087-1-luoyonggang@gmail.com> References: <20200905062333.1087-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::543; envelope-from=luoyonggang@gmail.com; helo=mail-pg1-x543.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , QEMU Block , Stefan Weil , Peter Lieven , Yonggang Luo , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Yonggang Luo --- tests/docker/dockerfiles/msys2.docker | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/docker/dockerfiles/msys2.docker diff --git a/tests/docker/dockerfiles/msys2.docker b/tests/docker/dockerfiles/msys2.docker new file mode 100644 index 0000000000..f898e0803d --- /dev/null +++ b/tests/docker/dockerfiles/msys2.docker @@ -0,0 +1,11 @@ +FROM cirrusci/windowsservercore:cmake +RUN echo | choco install -y --no-progress --ignore-package-exit-codes --params "/NoUpdate /InstallDir:C:\tools\msys64" msys2 +COPY msys2_install.sh C:/tools +RUN C:\tools\msys64\usr\bin\bash.exe -lc "grep -rl 'repo.msys2.org/' /etc/pacman.d/mirrorlist.* | xargs sed -i 's/repo.msys2.org\//mirrors.ustc.edu.cn\/msys2\//g'" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "pacman -Sy" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "sh /c/tools/msys2_install.sh" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "rm -rf /var/cache/pacman/pkg/*" + +# docker build --tag lygstate/windowsservercore:msys2 -f "../../../tests/docker/dockerfiles/msys2.docker" . +# docker run -it lygstate/windowsservercore:msys2 cmd +# docker push lygstate/windowsservercore:msys2