Skip to content

Commit

Permalink
fix: adjust docker installation to avoid errors in first attempt [#1]
Browse files Browse the repository at this point in the history
  • Loading branch information
d3p1 committed Sep 11, 2024
1 parent bcdeab7 commit a1c2767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/lib/utils/docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# @description An utility to install Docker tools
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
# @todo For now, this utility only works with Debian
# @todo Analyze why first attempt of installation always fails
##

##
Expand Down Expand Up @@ -45,6 +44,7 @@ _configure_docker_repo() {
sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
}

##
Expand Down

0 comments on commit a1c2767

Please sign in to comment.