fix(install-script): docker install fix, brave installation

- Install docker, brave through repositories instead of brew
This commit is contained in:
Pratik Tripathy
2024-12-24 18:39:27 +05:30
parent aadadcc825
commit 3d9f4769f7
4 changed files with 16 additions and 5 deletions

View File

@@ -37,6 +37,12 @@ dnf_setup() {
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
printf "%s\n%s\n%s\n%s\n%s\n%s\n" "[code]" "name=Visual Studio Code" "baseurl=https://packages.microsoft.com/yumrepos/vscode" "enabled=1" "gpgcheck=1" "gpgkey=https://packages.microsoft/com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo >/dev/null
# Add docker repository
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
# Add Brave repository
sudo dnf-3 config-manager --add-repo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
# Install development Tools
sudo yum groupinstall -y "Development Tools" && yum install readline readline-devel -y

View File

@@ -1,8 +1,5 @@
#!/usr/bin/env sh
# TODO: Things that did not work
# - dotfiles: could NOT link it to aliases_personal
kitty_term() {
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
@@ -24,6 +21,9 @@ manual_installs() {
}
post_install() {
command -v docker >/dev/null 2>&1 && systemctl enable --now docker >/dev/null 2>&1 && echo "Docker enabled"
command -v docker >/dev/null 2>&1 && usermod -aG docker "$USER" && newgrp docker && echo "Added $USER to docker group"
chsh -s "$(which zsh)" && echo "Default shell changed to zsh"
# Time fix for Windows dual boot

View File

@@ -3,8 +3,6 @@
bat
bats-core
dnscrypt-proxy
docker
docker-compose
fd
fzf
gitleaks

View File

@@ -9,11 +9,13 @@ nvidia-driver
synaptic
# Below few are dnf-only packages
akmod-nvidia
dnf-plugins-core
libva-nvidia-driver
xorg-x11-drv-nvidia-cuda
# Common
bash
bleachbit
brave-browser
ca-certificates
clang
cmake
@@ -22,6 +24,11 @@ code
curl
evolution-ews
evolution-mapi
docker-ce
docker-ce-cli
containerd.io
docker-buildx-plugin
docker-compose-plugin
dolphin
dolphin-plugins
dnscrypt-proxy