summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
l---------.config/yadm/bootstrap1
-rw-r--r--.config/yadm/bootstrap##distro.Ubuntu29
2 files changed, 30 insertions, 0 deletions
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