From 1f8e3cbf8e3c55969029a8128c2556086c332331 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 5 Mar 2025 18:15:16 -0800 Subject: [PATCH] New backup 2025-03-05 18:15:16 --- .../home/Scripts/create-podman-container-arm.sh | 14 ++++++++++++++ default/include | 1 + 2 files changed, 15 insertions(+) create mode 100755 default/home/Scripts/create-podman-container-arm.sh diff --git a/default/home/Scripts/create-podman-container-arm.sh b/default/home/Scripts/create-podman-container-arm.sh new file mode 100755 index 0000000..59f87e0 --- /dev/null +++ b/default/home/Scripts/create-podman-container-arm.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# https://quay.io/organization/toolbx-images + +podman run -d --privileged \ + --platform linux/arm64 \ + --hostname=pod-debian-sid \ + --volume=${HOME}:/root \ + --volume=/usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static \ + --name=debian-sid-arm-dev \ + --systemd=true quay.io/toolbx-images/debian-toolbox:unstable \ + /sbin/init + +podman exec --env POD_PATH=$(pwd | sed "s|${HOME}|/root|") -t debian-sid-arm-dev /bin/bash -c 'apt-get update;apt-get upgrade -y;apt-get install -y iputils-ping devscripts dh-make' diff --git a/default/include b/default/include index 848ca60..8bc77e7 100644 --- a/default/include +++ b/default/include @@ -4,3 +4,4 @@ Scripts/ovpn-import.sh Scripts/destroy-podman-container.sh Scripts/create-podman-container.sh +Scripts/create-podman-container-arm.sh