add aarch64 qemu for arm64v8 build

This commit is contained in:
lawtancool 2020-03-26 08:26:15 -07:00
parent 13e3e0d651
commit ec5ae54e21
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ FROM arm64v8/ubuntu:18.04
LABEL maintainer="lawtancool"
COPY qemu-arm-static /usr/bin
COPY qemu-aarch64-static /usr/bin
# Testing: pamtester
#RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \

View File

@ -1,3 +1,4 @@
#!/bin/bash
# downloads a local copy of qemu on docker-hub build machines
curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static .
curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-aarch64/qemu-aarch64-static .