aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm64v8
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-19 20:41:05 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-05-19 21:53:11 -0700
commit525120de61ec27c8d64207a703061c9400f77c07 (patch)
tree18507f0009dd2998786faedc5e93d2cd12d8ec64 /Dockerfile.arm64v8
parente6701f57ccbd61bf479635061339aeaf44b56116 (diff)
downloadhomer-525120de61ec27c8d64207a703061c9400f77c07.tar.gz
homer-525120de61ec27c8d64207a703061c9400f77c07.tar.zst
homer-525120de61ec27c8d64207a703061c9400f77c07.zip
Fix multiarch docker build.
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r--Dockerfile.arm64v87
1 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8
index 707dd83..1e01245 100644
--- a/Dockerfile.arm64v8
+++ b/Dockerfile.arm64v8
@@ -1,4 +1,11 @@
1FROM alpine AS builder
2
3# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261
4ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz
5RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1
6
1FROM arm64v8/alpine:3.11 7FROM arm64v8/alpine:3.11
8COPY qemu-arm-static /usr/bin
2 9
3COPY ./ /www/ 10COPY ./ /www/
4 11