mirror of
https://github.com/linuxserver/docker-build-agent.git
synced 2026-03-16 00:06:37 +08:00
Merge pull request #2 from linuxserver/better-qemu
This commit is contained in:
commit
e5d930d4e1
@ -25,4 +25,6 @@ services:
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
For x86_64 machines, run `docker run --rm --privileged multiarch/qemu-user-static --reset -p yes` on the host to enable qemu before bringing any build agent containers up.
|
||||
|
||||
- { date: "30.04.23:", desc: "Initial Release." }
|
||||
|
||||
@ -28,5 +28,7 @@ full_custom_readme: |
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
For x86_64 machines, run `docker run --rm --privileged multiarch/qemu-user-static --reset -p yes` on the host to enable qemu before bringing any build agent containers up.
|
||||
|
||||
- { date: "30.04.23:", desc: "Initial Release." }
|
||||
{%- endraw %}
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [[ $(uname -m) = "x86_64" ]]; then
|
||||
echo "**** Enabling QEMU ****"
|
||||
exec docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
echo "┌───────────────────────────────────────────────────────────────────────────────┐"
|
||||
echo "│ Make sure you enable you enable QEMU. Run: │"
|
||||
echo "│ │"
|
||||
echo "│ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes │"
|
||||
echo "│ │"
|
||||
echo "│ on the host │"
|
||||
echo "└───────────────────────────────────────────────────────────────────────────────┘"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user