From d182b93d6570a6d9aefa54a778aa86016b5ad6d8 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 10 Jun 2019 11:35:56 +0200 Subject: [PATCH] fix(core): update --- Dockerfile_iot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile_iot b/Dockerfile_iot index 385bf20..73d3a22 100644 --- a/Dockerfile_iot +++ b/Dockerfile_iot @@ -2,7 +2,10 @@ FROM hosttoday/ht-docker-node:latest as stage1 RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support # the following lines need to be run on a system that supports both architectures # update-binfmts --enable qemu-arm \ - # update-binfmts --display qemu-arm + # && update-binfmts --display qemu-arm \ + # && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc \ + # && echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' > /proc/sys/fs/binfmt_misc/register FROM arm32v7/node:lts-jessie as stage2 +COPY --from=stage1 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static