diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2016-05-20 09:39:01 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2016-05-20 09:39:01 +0300 |
commit | 57c3313c5a7003bea988825d0bdc4b5219db7981 (patch) | |
tree | 3ee50a999330a2f8093edd1d9230daca2afecaec /xenial-amd64 | |
parent | edb3dc19b6413a111b73de52c46a39ee8c6f5362 (diff) |
apt-key add accepts wildcard
Reduce the delta between configuration and use a consistent way to add
keys.
Change-Id: I05e1435186a49abf883edd08765a3c2a02f7c210
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'xenial-amd64')
-rw-r--r-- | xenial-amd64/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xenial-amd64/Dockerfile b/xenial-amd64/Dockerfile index e47e2c5a..6887c9d0 100644 --- a/xenial-amd64/Dockerfile +++ b/xenial-amd64/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:xenial COPY *.list *.key /etc/apt/sources.list.d/ RUN dpkg --add-architecture i386 \ - && for key in $(ls /etc/apt/sources.list.d/*.key); do apt-key add ${key}; done \ + && apt-key add /etc/apt/sources.list.d/*.key \ && apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y devscripts \ |