docker-bootstrap/99_upgrade.sh

12 lines
173 B
Bash
Executable File

#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "This script must be run as root." >&2
exit 1
fi
export DEBIAN_FRONTEND=noninteractive
apt update -qy
apt -qy upgrade