Skip to content

Commit

Permalink
fix(suse): Fix support to install compose from PackageHub on SLES 15
Browse files Browse the repository at this point in the history
To actually install the packages, you need to set the following in your
pillar because the PackageHub repos are not enabled by default on SLES.

```YAML
docker:
  pkg:
    docker:
      use_upstream: 'package'
    compose:
      use_upstream: 'package'
```
  • Loading branch information
ypid-geberit committed Aug 5, 2021
1 parent 16cc758 commit e146f60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/codenamemap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ precise:
deps:
- linux-image-generic-lts-raring
- linux-headers-generic-lts-raring

SUSE Linux Enterprise Server 15:
pkg:
compose:
commands:
- docker-compose

SUSE Linux Enterprise Server 15 SP1:
pkg:
compose:
commands:
- docker-compose
4 changes: 4 additions & 0 deletions docker/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ Suse:
- gzip
docker:
name: docker
compose:
# https://packagehub.suse.com/packages/python-docker-compose/
commands:
- python-docker-compose

MacOS:
identity:
Expand Down

0 comments on commit e146f60

Please sign in to comment.