setup-forgejo/docker.sh
2023-03-25 16:06:50 +01:00

12 lines
356 B
Bash
Executable file

#!/bin/bash
set -x
setup() {
if ! systemctl is-active --quiet docker; then
echo deb http://deb.debian.org/debian bullseye-backports main | tee /etc/apt/sources.list.d/backports.list && apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --quiet -y -t bullseye-backports git docker.io
fi
}
setup