add docker hub arm build capability

This commit is contained in:
lawtancool
2020-03-25 21:00:04 -07:00
parent 68b33034f2
commit d2042eea06
6 changed files with 103 additions and 0 deletions

View File

@ -1,3 +1,10 @@
FROM alpine AS builder
# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261
ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz
RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1
# Original credit: https://github.com/jpetazzo/dockvpn
# Smallest base image