aboutsummaryrefslogtreecommitdiff
path: root/xenial-arm64-tcwg-base/xenial-arm64-tcwg-host/Dockerfile
blob: 0391db84cf3bb4776c20c2361b9eeac1b3966582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Auto generated from tcwg-base/tcwg-host/Dockerfile.in. Do not edit.
FROM linaro/ci-arm64-tcwg-base-ubuntu:xenial

COPY passwd start.sh /
COPY home-data/ /home-data/

RUN new-user.sh --group tcwg-infra:9000 && new-user.sh --group primary:10000 \
 && while read line; do \
      new-user.sh --passwd "$line"; \
      user=$(echo "$line" | cut -d: -f 1); \
      gid=$(echo "$line" | cut -d: -f 4); \
      chown -R $user:$gid /home-data/$user/; \
      rsync -a /home-data/$user/ /home/$user/; \
    done </passwd \
 && rm -rf /passwd /home-data/
# checksum: 7658e1f838c8001576f15673556acfe0