diff options
-rw-r--r-- | Dockerfile.arm32v7 | 3 | ||||
-rw-r--r-- | Dockerfile.arm64v8 | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index d78d608..3b18243 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -1,11 +1,10 @@ | |||
1 | FROM alpine as qemu | 1 | FROM alpine as qemu |
2 | 2 | ||
3 | ARG QEMU_VERSION "v4.2.0-7" | 3 | ARG QEMU_VERSION="v4.2.0-7" |
4 | 4 | ||
5 | RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-arm-static && chmod +x qemu-arm-static | 5 | RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-arm-static && chmod +x qemu-arm-static |
6 | 6 | ||
7 | FROM arm32v7/alpine:3.11 | 7 | FROM arm32v7/alpine:3.11 |
8 | COPY --from=builder qemu-aarch64-static /usr/bin | ||
9 | 8 | ||
10 | COPY --from=qemu qemu-arm-static /usr/bin/ | 9 | COPY --from=qemu qemu-arm-static /usr/bin/ |
11 | COPY ./ /www/ | 10 | COPY ./ /www/ |
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 index b7c0484..0845c34 100644 --- a/Dockerfile.arm64v8 +++ b/Dockerfile.arm64v8 | |||
@@ -1,11 +1,10 @@ | |||
1 | FROM alpine as qemu | 1 | FROM alpine as qemu |
2 | 2 | ||
3 | ARG QEMU_VERSION "v4.2.0-7" | 3 | ARG QEMU_VERSION="v4.2.0-7" |
4 | 4 | ||
5 | RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-aarch64-static && chmod +x qemu-aarch64-static | 5 | RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-aarch64-static && chmod +x qemu-aarch64-static |
6 | 6 | ||
7 | FROM arm64v8/alpine:3.11 | 7 | FROM arm64v8/alpine:3.11 |
8 | COPY qemu-arm-static /usr/bin | ||
9 | 8 | ||
10 | COPY --from=qemu qemu-aarch64-static /usr/bin/ | 9 | COPY --from=qemu qemu-aarch64-static /usr/bin/ |
11 | COPY ./ /www/ | 10 | COPY ./ /www/ |