Skip to content

Commit

Permalink
Fixed aarch64 dockerfile for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcole1340 committed Jul 18, 2021
1 parent a164144 commit f301ec6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker/Dockerfile.aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ RUN /cmake.sh
COPY xargo.sh /
RUN /xargo.sh

RUN apt-get install --assume-yes --no-install-recommends \
g++-aarch64-linux-gnu \
libc6-dev-arm64-cross
RUN arch="$(uname -m)" && \
case "${arch}" in \
arm64|aarch64) apt-get install --assume-yes --no-install-recommends \
g++ ;; \
*) apt-get install --assume-yes --no-install-recommends \
g++-aarch64-linux-gnu \
libc6-dev-arm64-cross ;; \
esac

COPY qemu.sh /
RUN /qemu.sh aarch64 softmmu
Expand Down

0 comments on commit f301ec6

Please sign in to comment.