Skip to content

Commit

Permalink
feat: add docker installation
Browse files Browse the repository at this point in the history
  • Loading branch information
granddaifuku committed Jun 24, 2024
1 parent 6951c28 commit c40207e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .chezmoiscripts/run_once_after_00-installer.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ sudo dnf -y install fzf
sudo dnf -y install aspell

## Install 1password
### https://support.1password.com/install-linux/
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc
sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo'
sudo dnf -y install 1password

## Install Brave-browser
### https://brave.com/linux/
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
Expand All @@ -33,6 +35,14 @@ sudo dnf -y install wezterm
sudo dnf -y install fcitx5
sudo dnf -y install fcitx5-autostart
sudo dnf -y install fcitx5-mozc

## Docker
### https://docs.docker.com/engine/install/fedora/
# Already installed when install brave-browser
# sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

{{- end -}}

{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions .chezmoiscripts/run_once_after_01-chores.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@ fc-cache -v
# if [ "$CI" != true ]; then
# sudo systemctl start xremap.service
# fi

if [ "CI" != true ]; then
sudo systemctl start docker
fi

{{ end -}}
{{ end -}}

0 comments on commit c40207e

Please sign in to comment.