2024-11-17 19:24:00 +00:00
|
|
|
FROM host.today/ht-docker-node:latest as stage1
|
2023-04-02 11:22:11 +00:00
|
|
|
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
|
2019-06-10 09:31:47 +00:00
|
|
|
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 \
|
2019-06-10 09:35:56 +00:00
|
|
|
# && 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
|
2019-06-10 09:31:47 +00:00
|
|
|
|
|
|
|
FROM arm32v7/node:lts-jessie as stage2
|
2019-06-10 09:35:56 +00:00
|
|
|
COPY --from=stage1 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
|
2019-06-10 09:31:47 +00:00
|
|
|
|