Skip to content

Commit

Permalink
fix: add raspbian recommended repo
Browse files Browse the repository at this point in the history
Issue however docker version shows experimental true and version 20.10.6
Stable  I believe is 19.03
Docker-compose seems to be behind release currently 1.29
This install installs 1.21
Clean does not remove docker
docker install appears to often require a manual start
systemctl start docker.service
or rerun  state.apply docker
  • Loading branch information
SLLau committed Aug 22, 2021
1 parent e443838 commit 9c70ea2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/osarchmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ armhf:
arch: armhf
pkg:
docker:
{%- if grains.os == 'Raspbian' %}
use_upstream: repo
{%- else %}
use_upstream: archive
{%- endif %}
archive:
source_hash: '5e757cf65d99b0326f49cabbfc3b9a65151cb569f04fcb64a7a0c7424772c7cf'
suffix: tgz
Expand Down
14 changes: 14 additions & 0 deletions docker/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ OEL:
file: '/etc/yum.repos.d/docker-ce.repo'
gpgkey: 'https://download.docker.com/linux/centos/gpg'

Raspbian:
pkg:
docker:
repo:
{%- if 'oscodename' in grains %}
name: deb [arch=armhf] https://download.docker.com/linux/{{ grains.os|lower }} {{ grains.oscodename }} stable
{%- endif %}
file: /etc/apt/sources.list.d/docker.list
gpgkey: "https://download.docker.com/linux/{{ grains.os|lower }}/gpg"


compose:
name: docker-compose
use_upstream: package
Amazon:
pkg:
docker:
Expand Down

0 comments on commit 9c70ea2

Please sign in to comment.