fix docker
This commit is contained in:
parent
13d49adfdd
commit
025551cae8
1 changed files with 1 additions and 2 deletions
|
@ -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"]
|
Loading…
Add table
Reference in a new issue