aboutsummaryrefslogtreecommitdiff
path: root/xenial-armhf-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-09-18 11:32:01 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-09-18 11:32:01 +0000
commit8dbabafd947f57b038a7e50fe7c13b89f0037d13 (patch)
tree1bb1156a715c1d785ee8faea7c2fbc8cb8575f14 /xenial-armhf-tcwg-base
parent2db5d1d83328e36184ac527552d7041a2d1a5293 (diff)
*-tcwg-build: Add tcwg-benchmark user to all images, not just amd64-trusty.
The fact that tcwg-benchmark user is present only in amd64 Trusty tcwg-build image is historical artifact. When we added the tcwg-benchmark we didn't want to destabilize other images. The change has been extensively tested since then, so enabling for all tcwg-build images. Change-Id: Ic341a98405cc39ea6e6f36a5d24dd96b239eaa33
Diffstat (limited to 'xenial-armhf-tcwg-base')
-rw-r--r--xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/Dockerfile11
1 files changed, 8 insertions, 3 deletions
diff --git a/xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/Dockerfile b/xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/Dockerfile
index 9941ccf6..958c9360 100644
--- a/xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/Dockerfile
+++ b/xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/Dockerfile
@@ -3,11 +3,16 @@ FROM linaro/ci-armhf-tcwg-base-ubuntu:xenial
RUN groupadd -g 9000 tcwg-infra \
&& useradd -m -g tcwg-infra -G kvm -u 11827 tcwg-buildslave \
- && echo 'tcwg-buildslave ALL = NOPASSWD: ALL' > /etc/sudoers.d/jenkins \
+ && useradd -m -g tcwg-infra -G kvm -u 12326 tcwg-benchmark \
+ && echo '%tcwg-infra ALL = NOPASSWD: ALL' > /etc/sudoers.d/jenkins \
&& chmod 0440 /etc/sudoers.d/jenkins \
&& mkdir -p /home/tcwg-buildslave/workspace
COPY tcwg-buildslave /home/tcwg-buildslave
+COPY tcwg-benchmark /home/tcwg-benchmark
+
RUN chown -R tcwg-buildslave:tcwg-infra /home/tcwg-buildslave/ \
- && chmod 0700 /home/tcwg-buildslave/.ssh/
-# checksum: 22d91bd2f9566cde006f7c075aebc908
+ && chown -R tcwg-benchmark:tcwg-infra /home/tcwg-benchmark/ \
+ && chmod 0700 /home/tcwg-buildslave/.ssh/ /home/tcwg-benchmark/.ssh/ \
+ && chmod 0600 /home/tcwg-buildslave/.ssh/* /home/tcwg-benchmark/.ssh/*
+# checksum: 484fd5849721dbc7371264157f143624