Fix multi-arch container build
Some checks failed
ecodash/pipeline/head There was a failure building this commit
Some checks failed
ecodash/pipeline/head There was a failure building this commit
This commit is contained in:
parent
6bfe31de56
commit
c650a1fae1
2 changed files with 21 additions and 18 deletions
|
@ -1,7 +1,10 @@
|
|||
FROM debian:latest
|
||||
|
||||
WORKDIR /app
|
||||
COPY app app
|
||||
COPY ecodash_arm ecodash_arm
|
||||
COPY ecodash_x86 ecodash_x86
|
||||
COPY templates templates
|
||||
|
||||
RUN if [ "$(uname -m)" = "aarch64" ]; then mv ecodash_arm app; rm ecodash_x86; else mv ecodash_x86 app; rm ecodash_arm fi
|
||||
|
||||
CMD ["./app"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue