Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
22e8ac6f
Commit
22e8ac6f
authored
Nov 22, 2020
by
Igor Pecovnik
Browse files
Improve Docker install
parent
f3e930a5
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
22e8ac6f
...
...
@@ -645,11 +645,16 @@ fi
install_docker ()
{
echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/${family,,} $distribution edge" >\
/etc/apt/sources.list.d/docker.list
curl -fsSL "https://download.docker.com/linux/${family,,}/gpg" | apt-key add -qq - > /dev/null 2>
&
1
if [[ $distribution == groovy || $distribution == focal || $distribution == bionic ]]; then
echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu focal edge" > \
/etc/apt/sources.list.d/docker.list
else
echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/debian buster edge" >\
/etc/apt/sources.list.d/docker.list
fi
curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - > /dev/null 2>
&
1
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce
debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce
docker-ce-cli containerd.io
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment