From 1814057050a5099d7eaa6f0f6395a4054801da6f Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 19 Mar 2026 18:04:48 +1300 Subject: Fix wrong section (text instead of .text, oops) for entrypoint, change 1M alignment back to 2M, make docker scripts work because arm --- run-docker.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 run-docker.sh (limited to 'run-docker.sh') diff --git a/run-docker.sh b/run-docker.sh new file mode 100755 index 0000000..f4093d2 --- /dev/null +++ b/run-docker.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "installing binfmt hooks because alarm is bad and it keeps breaking on reboot" +echo -1 | sudo tee /proc/sys/fs/binfmt_misc/qemu-x86_64 +docker run --privileged --rm tonistiigi/binfmt --install amd64 + +echo "actually running alpine" +docker run -it --mount type=bind,src=$(dirname "$0"),target=/workspace --platform linux/amd64 --rm alpine:latest -- cgit v1.2.3