diff options
-rw-r--r-- | Dockerfile.arm32v7 | 7 | ||||
-rw-r--r-- | Dockerfile.arm64v8 | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 79a7a61..e78d37c 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -1,4 +1,11 @@ | |||
1 | FROM alpine AS builder | ||
2 | |||
3 | # Download QEMU, see https://github.com/docker/hub-feedback/issues/1261 | ||
4 | ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz | ||
5 | RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1 | ||
6 | |||
1 | FROM arm32v7/alpine:3.11 | 7 | FROM arm32v7/alpine:3.11 |
8 | COPY --from=builder qemu-aarch64-static /usr/bin | ||
2 | 9 | ||
3 | COPY ./ /www/ | 10 | COPY ./ /www/ |
4 | 11 | ||
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 index 707dd83..1e01245 100644 --- a/Dockerfile.arm64v8 +++ b/Dockerfile.arm64v8 | |||
@@ -1,4 +1,11 @@ | |||
1 | FROM alpine AS builder | ||
2 | |||
3 | # Download QEMU, see https://github.com/docker/hub-feedback/issues/1261 | ||
4 | ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz | ||
5 | RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1 | ||
6 | |||
1 | FROM arm64v8/alpine:3.11 | 7 | FROM arm64v8/alpine:3.11 |
8 | COPY qemu-arm-static /usr/bin | ||
2 | 9 | ||
3 | COPY ./ /www/ | 10 | COPY ./ /www/ |
4 | 11 | ||