aboutsummaryrefslogtreecommitdiff
path: root/xenial-amd64-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-01 13:35:02 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-06-01 13:47:51 +0000
commita7f862f08787fd60e05dfa156459cb32ab475481 (patch)
treef2bc60481e4d4c8adc807d8596c530986d45d4df /xenial-amd64-tcwg-base
parent06792ad313385fea82b7fa9a0871e76fdd3c9d07 (diff)
tcwg-host: New TCWG images for running "host" containers on vanilla machines.
Tcwg-host images allow one-command deployment TCWG environment on vanilla machines. The start.sh script bind-mounts docker socket to allow "build" and "dev" containers to be created from the "host" container. Change-Id: Icbfea97abed6a28b892edd98307d209796827ac0
Diffstat (limited to 'xenial-amd64-tcwg-base')
-rw-r--r--xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/Dockerfile12
l---------xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/build.sh1
l---------xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/gerrit-branches1
3 files changed, 14 insertions, 0 deletions
diff --git a/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/Dockerfile b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/Dockerfile
new file mode 100644
index 00000000..f2cffbb4
--- /dev/null
+++ b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/Dockerfile
@@ -0,0 +1,12 @@
+# Auto generated from tcwg-base/tcwg-host/Dockerfile.in. Do not edit.
+FROM linaro/ci-amd64-tcwg-base-ubuntu:xenial
+
+COPY authorized_keys-* passwd /
+
+RUN new-user.sh --group primary:10000 \
+ && while read line; do new-user.sh --passwd "$line"; done </passwd \
+ && for key in /authorized_keys-*; do new-user.sh --key "$key"; done \
+ && rm /passwd /authorized_keys-*
+
+COPY start.sh /
+# checksum: ba13ddbbe36a0811f7427be711400606
diff --git a/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/build.sh b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/build.sh
new file mode 120000
index 00000000..2c954456
--- /dev/null
+++ b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/build.sh
@@ -0,0 +1 @@
+../../tcwg-base/tcwg-host/build.sh \ No newline at end of file
diff --git a/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/gerrit-branches b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/gerrit-branches
new file mode 120000
index 00000000..44e3578e
--- /dev/null
+++ b/xenial-amd64-tcwg-base/xenial-amd64-tcwg-host/gerrit-branches
@@ -0,0 +1 @@
+../../tcwg-base/tcwg-host/gerrit-branches \ No newline at end of file