1
0
mirror of https://github.com/b4tman/armhf-alpine-qemu.git synced 2024-09-28 03:58:01 +00:00
armhf-alpine-qemu/Dockerfile
Petros Angelatos 3f62d14109 Use static binaries instead of shebang scripts
With the latest version of qemu-arm-static using a shebang script with
the interpreter set to qemu-arm-static causes infinite recursion.

Fixes #2

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-05 13:01:54 +01:00

8 lines
232 B
Docker

FROM resin/armv7hf-debian:jessie
ENV QEMU_EXECVE 1
COPY . /usr/bin
RUN [ "qemu-arm-static", "/bin/sh", "-c", "ln -s resin-xbuild /usr/bin/cross-build-start; ln -s resin-xbuild /usr/bin/cross-build-end; ln /bin/sh /bin/sh.real" ]