summaryrefslogtreecommitdiff
path: root/.config/yadm/bootstrap##distro.Ubuntu
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-14 13:33:14 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-14 13:33:14 +0100
commit9b41dbdcb2c810804417b9ffc4e74a7b3e534ac2 (patch)
treec4cf9ace30d0cd35aebb6ac70f2be43b1371f5d6 /.config/yadm/bootstrap##distro.Ubuntu
initial commit
Diffstat (limited to '.config/yadm/bootstrap##distro.Ubuntu')
-rw-r--r--.config/yadm/bootstrap##distro.Ubuntu29
1 files changed, 29 insertions, 0 deletions
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