mirror of
https://github.com/b4tman/armhf-alpine-qemu.git
synced 2025-01-15 11:58:22 +00:00
3f62d14109
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>
8 lines
232 B
Docker
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" ]
|