Runc and version artifacts

Former-commit-id: f443f0b326
This commit is contained in:
John D 2021-05-25 07:23:14 -07:00
parent 0b199281b3
commit 22a04d493e
3 changed files with 26 additions and 7 deletions

View File

@ -2,24 +2,42 @@
mkdir -p /mnt/data/.cache
PODMAN_DL=/mnt/data/.cache/podman
CONMON_DL=/mnt/data/.cache/conmon
PODMAN_VERSION=3.2.0-dev
RUNC_VERSION=1.0.0-rc95
CONMON_VERSION=2.0.27
PODMAN_DL=/mnt/data/.cache/podman-$PODMAN_VERSION
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
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v2.0.27/conmon.arm64
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v$CONMON_VERSION/conmon.arm64
fi
chmod +x $CONMON_DL
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
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
curl -fsSLo $PODMAN_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/podman-3.2.0-dev
curl -fsSLo $PODMAN_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/podman-$PODMAN_VERSION
fi
chmod +x $PODMAN_DL
mv /usr/bin/podman /usr/bin/podman.old
if [ ! -f /usr/bin/podman.old ]; then
mv /usr/bin/podman /usr/bin/podman.old
fi
ln -s $PODMAN_DL /usr/bin/podman
if [ ! -f $RUNC_DL ]; then
curl -fsSLo $RUNC_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/runc-$RUNC_VERSION
fi
chmod +x $RUNC_DL
if [ ! -f /usr/bin/runc.old ]; then
mv /usr/bin/runc /usr/bin/runc.old
fi
ln -s $RUNC_DL /usr/bin/runc
if [ ! -f $SECCOMP ]; then
mkdir -p /usr/share/container/
curl -fsSLo /usr/share/container/seccomp.json https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/seccomp.json

View File

@ -2,7 +2,7 @@
## Features
1. Podman 3.2.0
1. Podman 3.2.0 (w/ updated conmon, and runc)
1. Persists through reboots and firmware updates
1. Full Docker / Docker Compose compatibility!
```sh

View File

@ -0,0 +1 @@
c846a7cc6d2e76760b88e21d29ff23bee25ffd34