fix docker
Some checks failed
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/build/2 Pipeline failed

This commit is contained in:
JMARyA 2025-04-17 13:59:06 +02:00
parent 13d49adfdd
commit 025551cae8
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -1,5 +1,4 @@
FROM scratch
ARG TARGETARCH
ARG ARCH=$(if [ "$TARGETARCH" -eq "linux/arm64" ]; then echo "aarch64"; else echo "x86_64"; fi)
COPY ./os-${ARCH}/ /
COPY ./os-${TARGETARCH}/ /
CMD ["/bin/sh"]