diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-19 22:53:42 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-19 23:05:37 -0700 |
commit | 514b68eae35e865eb8c0bc42954983ca24ffc331 (patch) | |
tree | d6efbf008c8586bcd3bf34e2562a7e70b48ddb0e | |
parent | cf2df79869b7376a6ffbce699755779ef7b9f137 (diff) | |
download | homer-514b68eae35e865eb8c0bc42954983ca24ffc331.tar.gz homer-514b68eae35e865eb8c0bc42954983ca24ffc331.tar.zst homer-514b68eae35e865eb8c0bc42954983ca24ffc331.zip |
Fix arg syntax
-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/ |