aboutsummaryrefslogtreecommitdiff
path: root/run-docker.sh
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-03-19 18:04:48 +1300
committerArslaan Pathan <[email protected]>2026-03-19 18:04:48 +1300
commit1814057050a5099d7eaa6f0f6395a4054801da6f (patch)
tree3395c597b100fbe9c53fee9789cc1b016b4b21d4 /run-docker.sh
parent0896c87140db479a5663d40a98c16dafc3d26b67 (diff)
downloadFrenchToastOS-1814057050a5099d7eaa6f0f6395a4054801da6f.tar.xz
FrenchToastOS-1814057050a5099d7eaa6f0f6395a4054801da6f.zip
Fix wrong section (text instead of .text, oops) for entrypoint, change 1M alignment back to 2M, make docker scripts work because arm
Diffstat (limited to 'run-docker.sh')
-rwxr-xr-xrun-docker.sh8
1 files changed, 8 insertions, 0 deletions
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