diff --git a/podman-build.sh b/podman-build.sh index 5605ae4..679c085 100644 --- a/podman-build.sh +++ b/podman-build.sh @@ -4,7 +4,7 @@ cd /root/ apt update apt upgrade -y -apt-get install -y \ +apt-get install --no-install-recommends -y \ btrfs-progs \ crun \ git \ @@ -25,10 +25,11 @@ apt-get install -y \ libsystemd-dev \ pkg-config \ uidmap + go get golang.org/dl/go1.17.6 go1.17.6 download -apt install -y jq wget curl make +apt install --no-install-recommends -y jq wget curl make VERSION=$(curl -s https://api.github.com/repos/containers/podman/releases/latest | jq '.name' -r) export VERSION