From 84b578ec74dbdf62d27171bb4ef1e60ec057def9 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Wed, 29 May 2024 00:33:57 +0000 Subject: [PATCH] Use busybox tar to avoid issues with fchmodat2 on arm Signed-off-by: Brad Davidson --- package/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/Dockerfile b/package/Dockerfile index 7fd7a9875d..193d6ce32c 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -1,8 +1,8 @@ FROM alpine:3.20 as base -RUN apk add -U ca-certificates tar zstd tzdata +RUN apk add -U ca-certificates zstd tzdata COPY build/out/data.tar.zst / RUN mkdir -p /image/etc/ssl/certs /image/run /image/var/run /image/tmp /image/lib/modules /image/lib/firmware && \ - tar -xa -C /image -f /data.tar.zst && \ + zstdcat -d /data.tar.zst | tar -xa -C /image && \ echo "root:x:0:0:root:/:/bin/sh" > /image/etc/passwd && \ echo "root:x:0:" > /image/etc/group && \ cp /etc/ssl/certs/ca-certificates.crt /image/etc/ssl/certs/ca-certificates.crt