Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
RNA
Software
Commits
8b70bc6a
Commit
8b70bc6a
authored
Dec 05, 2018
by
Andreas Schmidt
Browse files
+= docker state
parent
7a0163f0
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
salt/docker/init.sls
0 → 100644
View file @
8b70bc6a
docker_dependencies:
pkg.installed:
- names:
- apt-transport-https
- ca-certificates
- curl
- software-properties-common
docker_install_key:
cmd.run:
- name: "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
- unless: "apt-key list | grep 0EBFCD88"
- require:
- pkg: docker_dependencies
docker_bootstrap:
cmd.run:
- name: 'add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"'
- require:
- cmd: docker_install_key
docker_ce:
pkg.installed:
- name: docker-ce
- require:
- cmd: docker_bootstrap
Write
Preview
Supports
Markdown
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