mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Runc and version artifacts
This commit is contained in:
parent
f443f0b326
commit
b5c0d69ee6
@ -10,14 +10,14 @@ RUNC_DL=/mnt/data/.cache/runc-$RUNC_VERSION
|
|||||||
CONMON_DL=/mnt/data/.cache/conmon-$CONMON_VERSION
|
CONMON_DL=/mnt/data/.cache/conmon-$CONMON_VERSION
|
||||||
SECCOMP=/usr/share/container/seccomp.json
|
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
|
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v$CONMON_VERSION/conmon.arm64
|
||||||
fi
|
sleep 1
|
||||||
|
done
|
||||||
chmod +x $CONMON_DL
|
chmod +x $CONMON_DL
|
||||||
if [ ! -f /usr/libexec/podman/conmon.old ]; then
|
if [ ! -f /usr/libexec/podman/conmon.old ]; then
|
||||||
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
|
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -s $CONMON_DL /usr/libexec/podman/conmon
|
ln -s $CONMON_DL /usr/libexec/podman/conmon
|
||||||
|
|
||||||
if [ ! -f $PODMAN_DL ]; then
|
if [ ! -f $PODMAN_DL ]; then
|
@ -23,7 +23,7 @@ minecraft_1 | [init] Starting the Minecraft server...
|
|||||||
|
|
||||||
## Customization
|
## 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
|
## Podman Build Process
|
||||||
* This is a custom-built binary by me. It was cross compiled on Ubuntu-20.04 in WSL2.
|
* 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
|
## 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. 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. 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. 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
|
1. Verify Podman version
|
||||||
```sh
|
```sh
|
||||||
$ podman version
|
$ podman version
|
||||||
|
Loading…
Reference in New Issue
Block a user