1
0
mirror of https://github.com/b4tman/armhf-alpine-qemu.git synced 2025-09-01 06:57:38 +00:00

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>
This commit is contained in:
Petros Angelatos
2016-09-05 13:01:54 +01:00
parent 07e49260bf
commit 3f62d14109
6 changed files with 53 additions and 16 deletions

View File

@@ -1,4 +1,7 @@
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" ]