From 9b41dbdcb2c810804417b9ffc4e74a7b3e534ac2 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 14 Nov 2023 13:33:14 +0100 Subject: initial commit --- .config/yadm/bootstrap | 1 + .config/yadm/bootstrap##distro.Ubuntu | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 120000 .config/yadm/bootstrap create mode 100644 .config/yadm/bootstrap##distro.Ubuntu (limited to '.config') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap new file mode 120000 index 0000000..c57c56e --- /dev/null +++ b/.config/yadm/bootstrap @@ -0,0 +1 @@ +bootstrap##distro.Ubuntu \ No newline at end of file diff --git a/.config/yadm/bootstrap##distro.Ubuntu b/.config/yadm/bootstrap##distro.Ubuntu new file mode 100644 index 0000000..6ff7558 --- /dev/null +++ b/.config/yadm/bootstrap##distro.Ubuntu @@ -0,0 +1,29 @@ +#!/bin/bash + +sudo apt update +sudo apt install -y \ + zsh neovim man-db + +chsh -s /bin/zsh + + +# docker +sudo apt install -y \ + ca-certificates curl gnupg + +sudo install -m 0775 -d /etc/apt/keyrings +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg +sudo chmod a+r /etc/apt/keyrings/docker.gpg + +echo \ + "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ + "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ + sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + +sudo apt update +sudo apt install -y \ + docker-ce docker-compose + +usermod -a -G docker $(whoami) +sudo service docker enable +sudo service docker start -- cgit v1.2.3