Skip to content

Commit 1a57938

Browse files
committed
Docker toml
1 parent 408d701 commit 1a57938

File tree

2 files changed

+8
-67
lines changed

2 files changed

+8
-67
lines changed

installers/docker/installer.sh

Lines changed: 0 additions & 65 deletions
This file was deleted.

installers/docker/installer.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
[apt]
22
sh = """
33
@sudo apt-get update
4-
@sudo apt-get install git
4+
@sudo apt-get install apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
5+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
6+
@sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
7+
@sudo apt-get update
8+
@sudo apt-get install docker-ce docker-ce-cli containerd.io
59
"""
610

711
[yum]
812
sh = """
9-
@sudo yum install git
13+
@sudo yum install -y yum-utils
14+
@sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
15+
@sudo yum install docker-ce docker-ce-cli containerd.io
1016
"""
1117

1218
[pacman]

0 commit comments

Comments
 (0)