From 9c1de9ae45d0dda91d79d9d6bfe32604d58074c5 Mon Sep 17 00:00:00 2001 From: thislight Date: Thu, 28 Nov 2024 19:56:16 +0800 Subject: [PATCH] build-image: fix space in path --- shared/build-image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/build-image.ts b/shared/build-image.ts index 6e134d3..dca9cfa 100644 --- a/shared/build-image.ts +++ b/shared/build-image.ts @@ -11,7 +11,7 @@ await $`buildah manifest create ${tag}`; for (const arch of arches) { await $`buildah build --arch ${arch} \ --pid=host --ipc=host --network=host --userns=host \ - --uts=host ${pathToDnfCache ? `-v /var/cache/dnf:/var/cache/dnf` : ""} \ + --uts=host ${pathToDnfCache ? `--volume /var/cache/dnf:/var/cache/dnf` : ""} \ --manifest code.lightstands.xyz/standcoded/${tag} \ --volume ${sharedDir}:/imgbuild:z ${dirName}`; }