Loading salt/docker/init.sls 0 → 100644 +26 −0 Original line number Diff line number Diff line 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 Loading
salt/docker/init.sls 0 → 100644 +26 −0 Original line number Diff line number Diff line 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