aboutsummaryrefslogtreecommitdiff
path: root/trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile')
-rw-r--r--trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile b/trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile
index ea5ee9fa..bc464280 100644
--- a/trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile
+++ b/trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/Dockerfile
@@ -1,13 +1,16 @@
# Auto generated from tcwg-base/tcwg-build/Dockerfile.in. Do not edit.
FROM linaro/ci-arm64-tcwg-base-ubuntu:trusty
-COPY tcwg-buildslave /home-data/tcwg-buildslave
-COPY tcwg-benchmark /home-data/tcwg-benchmark
+COPY home-data/ /home-data/
RUN new-user.sh --group tcwg-infra:9000 \
- && new-user.sh --passwd "tcwg-buildslave:x:11827:9000:TCWG Buildslave::/bin/bash" --home-data /home-data \
- && new-user.sh --passwd "tcwg-benchmark:x:12326:9000:TCWG Benchmark::/bin/bash" --home-data /home-data \
+ && while read line; do \
+ if [ x"$(echo "$line" | cut -d: -f 4)" != x"9000" ]; then \
+ continue; \
+ fi; \
+ new-user.sh --passwd "$line" --home-data /home-data; \
+ done </home-data/passwd \
&& rm -rf /home-data/ \
&& mkdir -p /home/tcwg-buildslave/workspace
-# checksum: 1f4929624403ba0098b195d9e5fdcf9e
+# checksum: 2f4e3dede3a0934235e0559faef5e16f