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:58:04 +02:00
parent 0007eefa54
commit 13d49adfdd
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 25 additions and 3 deletions

View file

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