aboutsummaryrefslogtreecommitdiff
path: root/trusty-i386-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-08-16 14:56:19 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-08-16 14:57:27 +0000
commit7251b2f78e533e7507f7ab685bcd62497af31157 (patch)
tree3d882036754dc11c1e5bd6e1eaa9e96bfe64f0a2 /trusty-i386-tcwg-base
parentb57c48583120d2ffce2417a03295c72446128805 (diff)
tcwg-build: Initialize .ccache directories of infra users
... so that ccache volumes are mounted with correct permissions. Change-Id: I858968cc8a825fed16e55acebd4d2b64747ade37
Diffstat (limited to 'trusty-i386-tcwg-base')
-rw-r--r--trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
index c5a14d34..3f344b51 100644
--- a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
+++ b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
@@ -6,6 +6,8 @@ RUN while read line; do \
continue; \
fi; \
new-user.sh --passwd "$line"; \
+ user=$(echo "$line" | cut -d: -f 1); \
+ sudo -i -u $user ccache --print-config; \
done </home-data/passwd
# Install wine. On amd64 arch we need to enable i386, otherwise wine
@@ -19,4 +21,4 @@ RUN \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/*
-# checksum: 05747b8e543f8061bcbfb8136b6d852b
+# checksum: 00d6640fb2e9cd0c816c1186e0026634