aboutsummaryrefslogtreecommitdiff
path: root/trusty-armhf-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-12 12:31:49 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-12 12:31:49 +0000
commit9df99caa4bac4cc627084ed1b5643a43326cf226 (patch)
tree3afbd5e29e892a42e3afd6190f95721ff90b0153 /trusty-armhf-tcwg-base
parentb816fde223eacfd43da4d30d20d268f1a03a19db (diff)
tcwg-*: Re-generate dockerfiles.
Change-Id: Ibb7e338bcd22ae736a22bda617f66f08fcdfd04b
Diffstat (limited to 'trusty-armhf-tcwg-base')
-rw-r--r--trusty-armhf-tcwg-base/Dockerfile7
-rw-r--r--trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/Dockerfile12
-rw-r--r--trusty-armhf-tcwg-base/trusty-armhf-tcwg-dev/Dockerfile11
3 files changed, 14 insertions, 16 deletions
diff --git a/trusty-armhf-tcwg-base/Dockerfile b/trusty-armhf-tcwg-base/Dockerfile
index 63d1e6e1..dee4e7d0 100644
--- a/trusty-armhf-tcwg-base/Dockerfile
+++ b/trusty-armhf-tcwg-base/Dockerfile
@@ -101,6 +101,11 @@ COPY postfix-sasl_password.in /etc/postfix/sasl_password
RUN chown root:root /etc/postfix/sasl_password \
&& chmod 600 /etc/postfix/sasl_password
+COPY home-data/ /home-data/
+
+RUN new-user.sh --group tcwg-infra:9000 \
+ && new-user.sh --group tcwg-users:10000
+
# We use ssh multiplexing, which creates sockets in /tmp. Overlayfs,
# which docker is using, can't host sockets, so we use a scratch mount
# for /tmp. This requires that we add --rm option to "docker run"
@@ -110,4 +115,4 @@ VOLUME /tmp
EXPOSE 22
CMD ["linux32", "/usr/sbin/sshd", "-D"]
-# checksum: 47776efeb9b9a4f08e738296b8011574
+# checksum: 6f3dc95eb778bd3d8a8287f3a28601ba
diff --git a/trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/Dockerfile b/trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/Dockerfile
index 3ad09aca..13aa42a6 100644
--- a/trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/Dockerfile
+++ b/trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/Dockerfile
@@ -1,15 +1,11 @@
# Auto generated from tcwg-base/tcwg-build/Dockerfile.in. Do not edit.
FROM linaro/ci-armhf-tcwg-base-ubuntu:trusty
-COPY home-data/ /home-data/
-
-RUN new-user.sh --group tcwg-infra:9000 \
- && while read line; do \
+RUN 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/
+ new-user.sh --passwd "$line"; \
+ done </home-data/passwd
-# checksum: a71bd21690ec22f250dd6652fbefcb3c
+# checksum: f0b16677dd91a122dea1a7f6cb00c8a9
diff --git a/trusty-armhf-tcwg-base/trusty-armhf-tcwg-dev/Dockerfile b/trusty-armhf-tcwg-base/trusty-armhf-tcwg-dev/Dockerfile
index 6f5af073..fdb4dc2d 100644
--- a/trusty-armhf-tcwg-base/trusty-armhf-tcwg-dev/Dockerfile
+++ b/trusty-armhf-tcwg-base/trusty-armhf-tcwg-dev/Dockerfile
@@ -1,9 +1,6 @@
# Auto generated from tcwg-base/tcwg-dev/Dockerfile.in. Do not edit.
FROM linaro/ci-armhf-tcwg-base-ubuntu:trusty
-COPY run.sh .
-COPY start.sh .
-
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
software-properties-common \
@@ -35,15 +32,15 @@ RUN apt-get update \
/tmp/* \
/var/tmp/*
-RUN sed -i -e '/.*AuthorizedKeysFile/ d' /etc/ssh/sshd_config \
- && echo "AuthorizedKeysFile %h/.ssh/authorized_keys.docker" >> /etc/ssh/sshd_config \
- && locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 \
+RUN locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 \
&& apt-file update
# Create directories required for X11.
RUN mkdir -p /tmp/.X11-unix /tmp/.ICE-unix \
&& chmod 1777 /tmp/.X11-unix /tmp/.ICE-unix
+COPY run.sh start.sh /
+
ENTRYPOINT ["linux32", "/run.sh"]
CMD ["start.sh"]
-# checksum: 3ebcf08c631348a6ee99ee7b0a574c23
+# checksum: 13bbddb6be801c28b19e50633ed8f6c8