-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from linuxserver/setup-buildx-container
- Loading branch information
Showing
7 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
docker buildx create --driver docker-container --name container >/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oneshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/s6-overlay/s6-rc.d/init-buildx-config/run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
if [[ $(uname -m) = "x86_64" ]]; then | ||
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 | ||
echo "┌─────────────────────────────────────────────────────────────────────────────────┐" | ||
echo "│ Make sure you enable you enable QEMU. Run: │" | ||
echo "│ │" | ||
echo "│ docker run --rm -it --privileged ghcr.io/linuxserver/qemu-static --reset -p yes │" | ||
echo "│ │" | ||
echo "│ on the host │" | ||
echo "└─────────────────────────────────────────────────────────────────────────────────┘" |
Empty file.