Fix SLES gpg url

The gpg key is in the top level directory for each distribution, using "${DOCKER_EE_URL}/sles/gpg" will attempt to load the gpg key from within the 12.3/<architecture>/<version>/ subdirectory, because of how DOCKER_EE_URL is set before.
This commit is contained in:
Alex Seymour 2018-07-27 09:59:25 +02:00 committed by GitHub
parent 17d66e0e6f
commit b3ea302bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -199,11 +199,11 @@ Engine, UCP, and DTR).
$ sudo zypper addrepo $DOCKER_EE_URL docker-ee-stable
```
3. Import the GPG key from the repository. Use the command as-is. It works
because of the variable you set earlier.
3. Import the GPG key from the repository. Replace `<DOCKER-EE-URL>`
with the URL you noted down in the [prerequisites](#prerequisites).
```bash
$ sudo rpm --import "${DOCKER_EE_URL}/sles/gpg"
$ sudo rpm --import "<DOCKER-EE-URL>/sles/gpg"
```
#### Install Docker EE