Skip to content

Commit

Permalink
add docker + rename run dir + remove fish and tilix
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed Oct 24, 2024
1 parent 7785898 commit 9a30f43
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 76 deletions.
21 changes: 21 additions & 0 deletions _run/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] 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-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

sudo groupadd docker
sudo usermod -aG docker $USER

sudo systemctl enable docker.service
sudo systemctl enable containerd.service
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions run/zsh.sh → _run/zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if ! [ -x "$(command -v fzf)" ]; then
fi

sudo apt install bat -y
mkdir -p .local/bin
ln -s /usr/bin/batcat ~/.local/bin/bat

# lsd
Expand Down
5 changes: 0 additions & 5 deletions fish/abbreviations.fish

This file was deleted.

2 changes: 0 additions & 2 deletions fish/aliases.fish

This file was deleted.

25 changes: 0 additions & 25 deletions fish/functions.fish

This file was deleted.

4 changes: 0 additions & 4 deletions fish/main.fish

This file was deleted.

6 changes: 0 additions & 6 deletions fish/path.fish

This file was deleted.

4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

AVAILABLE_DOTFILES=( "fish" "vim" "vscode" "git" "tmux" "tilix" "zsh" "generic")
AVAILABLE_DOTFILES=( "vim" "vscode" "git" "tmux" "zsh" "generic docker")


if [ $# -eq 0 ]
Expand All @@ -17,7 +17,7 @@ else
exit 1
fi

source ./run/$SELECTED_TO_RUN.sh
source ./_run/$SELECTED_TO_RUN.sh
fi

echo "Finished running"
Expand Down
3 changes: 0 additions & 3 deletions tilix/dump.sh

This file was deleted.

29 changes: 0 additions & 29 deletions tilix/tilix.dconf

This file was deleted.

0 comments on commit 9a30f43

Please sign in to comment.