diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2017-09-11 20:38:09 +0100 |
---|---|---|
committer | Charles Baylis <charles.baylis@linaro.org> | 2017-09-12 19:06:14 +0100 |
commit | 89033e301c73ef570d1b272383d4e8c536e7b9a1 (patch) | |
tree | e74e1c0c0916732edb71c44e19a0745707916a82 /trusty-i386-tcwg-base | |
parent | 850b3cd3b0f08ac0dc232626d7ee05b210680137 (diff) |
*-tcwg-*: Integrity checking for autogenerated Dockerfiles.
In order to avoid accidental modification of auto-generated
tcwg Dockerfiles, add checksum validation to those files.
This patch:
. adds comments to generated Dockerfiles indicating the
source file and the file's md5sum.
. regenerates all *-tcwg-* Dockerfiles (to add those comments)
. adds validation of the md5sum to the build-image.sh
. restricts search for Dockerfile.in to the tcwg-base hierarchy
Change-Id: I691ef4f1d93820bcdd7d50e19c11542a1db52875
Diffstat (limited to 'trusty-i386-tcwg-base')
-rw-r--r-- | trusty-i386-tcwg-base/Dockerfile | 2 | ||||
-rw-r--r-- | trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/trusty-i386-tcwg-base/Dockerfile b/trusty-i386-tcwg-base/Dockerfile index a8a23962..f74f2caf 100644 --- a/trusty-i386-tcwg-base/Dockerfile +++ b/trusty-i386-tcwg-base/Dockerfile @@ -1,3 +1,4 @@ +# Auto generated from tcwg-base/Dockerfile.in. Do not edit. FROM linaro/base-i386-ubuntu:trusty RUN (url="http://archive.ubuntu.com/ubuntu/"; \ @@ -116,3 +117,4 @@ VOLUME /tmp EXPOSE 22 CMD ["linux32", "/usr/sbin/sshd", "-D"] +# checksum: e91ba0275be782d3b02618ef81a100b7 diff --git a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile index fe05c785..e474ecd2 100644 --- a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile +++ b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile @@ -1,3 +1,4 @@ +# Auto generated from tcwg-base/tcwg-build/Dockerfile.in. Do not edit. FROM linaro/ci-i386-tcwg-base-ubuntu:trusty RUN groupadd -g 9000 tcwg-infra \ @@ -9,3 +10,4 @@ RUN groupadd -g 9000 tcwg-infra \ COPY tcwg-buildslave /home/tcwg-buildslave RUN chown -R tcwg-buildslave:tcwg-infra /home/tcwg-buildslave/ \ && chmod 0700 /home/tcwg-buildslave/.ssh/ +# checksum: 40d87b0f3235719ebf32a55519286eea |