<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Loong on CuSO4_Deposit</title><link>https://depoze.xyz/en/tags/loong/</link><description>Recent content in Loong on CuSO4_Deposit</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 28 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://depoze.xyz/en/tags/loong/index.xml" rel="self" type="application/rss+xml"/><item><title>Building loong64 Docker Images on NixOS</title><link>https://depoze.xyz/en/pages/nixos-loong64-docker/</link><pubDate>Fri, 20 Jun 2025 00:00:00 +0000</pubDate><guid>https://depoze.xyz/en/pages/nixos-loong64-docker/</guid><description>&lt;p&gt;When trying to cross-compile a loong64 image on an x86_64 platform using docker buildx, a problem occurred:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;1 warning found (use docker --debug to expand):&#10;- InvalidBaseImagePlatform: Base image lcr.loongnix.cn/library/node:22.15-alpine3.21 was pulled with platform &amp;#34;linux/loong64&amp;#34;, expected &amp;#34;linux/amd64&amp;#34; for current build&#10;&#10;ERROR: failed to solve: process &amp;#34;/bin/sh -c npm run build&amp;#34; did not complete successfully: exit code: 1&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When trying to build an image for another platform, the build arg that needs to be provided is &lt;code&gt;--build-arg BUILDPLATFORM=&amp;lt;arch&amp;gt;&lt;/code&gt;. The builder used by docker buildx can be seen with &lt;code&gt;docker buildx ls&lt;/code&gt;. Find the builder in use and inspect it:&lt;/p&gt;</description></item></channel></rss>