deb-bootc-image-builder/devel/bootc-install

18 lines
458 B
Bash
Executable file

#!/bin/bash
# Debian-specific bootc installation script
set -euo pipefail
echo "Installing bootc on Debian system..."
# Update package lists
apt-get update
# Install required dependencies
apt-get install -y curl ostree
# Download and install bootc
curl -L https://github.com/containers/bootc/releases/latest/download/bootc-x86_64-unknown-linux-gnu.tar.gz | tar -xz
install -m 755 bootc /usr/local/bin/
echo "bootc installation completed successfully!"