aboutsummaryrefslogtreecommitdiff
path: root/xenial-armhf
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-05-20 09:39:01 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-05-20 09:39:01 +0300
commit57c3313c5a7003bea988825d0bdc4b5219db7981 (patch)
tree3ee50a999330a2f8093edd1d9230daca2afecaec /xenial-armhf
parentedb3dc19b6413a111b73de52c46a39ee8c6f5362 (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-armhf')
-rw-r--r--xenial-armhf/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xenial-armhf/Dockerfile b/xenial-armhf/Dockerfile
index c83a469b..5fbe0347 100644
--- a/xenial-armhf/Dockerfile
+++ b/xenial-armhf/Dockerfile
@@ -3,7 +3,7 @@ FROM quay.io/fathi_boudra/ubuntu:xenial-armhf
COPY *.list *.key /etc/apt/sources.list.d/
RUN echo 'deb http://ports.ubuntu.com/ubuntu-ports xenial main universe' > /etc/apt/sources.list \
- && 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 \