Runc and version artifacts

Former-commit-id: b5c0d69ee6
This commit is contained in:
John D 2021-05-25 10:13:58 -07:00
parent 22a04d493e
commit da06a2b089
2 changed files with 6 additions and 6 deletions

View File

@ -10,14 +10,14 @@ RUNC_DL=/mnt/data/.cache/runc-$RUNC_VERSION
CONMON_DL=/mnt/data/.cache/conmon-$CONMON_VERSION
SECCOMP=/usr/share/container/seccomp.json
if [ ! -f CONMON_DL ]; then
while [ ! -f $CONMON_DL ]; do
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v$CONMON_VERSION/conmon.arm64
fi
sleep 1
done
chmod +x $CONMON_DL
if [ ! -f /usr/libexec/podman/conmon.old ]; then
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
fi
ln -s $CONMON_DL /usr/libexec/podman/conmon
if [ ! -f $PODMAN_DL ]; then

View File

@ -23,7 +23,7 @@ minecraft_1 | [init] Starting the Minecraft server...
## Customization
* You can not expose the docker daemon by commenting out the podman service in [00-podman-update.sh](00-podman-update.sh)
* You can not expose the docker daemon by commenting out the podman service in [00-podman-update.sh](01-podman-update.sh)
## Podman Build Process
* This is a custom-built binary by me. It was cross compiled on Ubuntu-20.04 in WSL2.
@ -40,11 +40,11 @@ make CC="aarch64-linux-gnu-gcc" local-cross
```
## Steps
1. Copy [00-podman-update.sh](00-podman-update.sh) to /mnt/data/on_boot.d
1. Copy [01-podman-update.sh](01-podman-update.sh) to /mnt/data/on_boot.d. Make sure anything needed to enable internet connectivity (wpa-supplicant, eap-proxy) runs before it
1. Comment out the Podman service if you do not wish to expose the Docker/Podman Daemon
1. Copy [05-install-cni-plugins.sh](../cni-plugins/05-install-cni-plugins.sh) to /mnt/data/on_boot.d
1. Recommended: Copy [05-container-common.sh](../container-common/on_boot.d/05-container-common.sh) to /mnt/data/on_boot.d
1. Execute /mnt/data/on_boot.d/[00-podman-update.sh](00-podman-update.sh) and /mnt/data/on_boot.d/[05-install-cni-plugins.sh](../cni-plugins/05-install-cni-plugins.sh)
1. Execute /mnt/data/on_boot.d/[01-podman-update.sh](01-podman-update.sh) and /mnt/data/on_boot.d/[05-install-cni-plugins.sh](../cni-plugins/05-install-cni-plugins.sh)
1. Verify Podman version
```sh
$ podman version