This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 2e00269 [docker] Add the license and notice file to the images
2e00269 is described below
commit 2e00269a70ff17ecc2e3d8c87f74c67c2825968f
Author: Grant Henke <[email protected]>
AuthorDate: Mon Jun 14 12:32:06 2021 -0500
[docker] Add the license and notice file to the images
This patch adds the LICENSE.txt and the NOTICE.txt files
to all of the Docker images.
Change-Id: Icafa66c176ff96b56d66fcaf0c557aa13cd1d177
Reviewed-on: http://gerrit.cloudera.org:8080/17594
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Bankim Bhavsar <[email protected]>
---
docker/Dockerfile | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ea8d085..0f7e2cb 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -37,6 +37,11 @@ ARG DEV_BASE_OS
#
FROM $RUNTIME_BASE_OS as runtime
+# Copy the license and notice files into the image
+# so that it is propagated to all derived runtime images.
+COPY ./LICENSE.txt /NOTICES/LICENSE.txt
+COPY ./NOTICE.txt /NOTICES/NOTICE.txt
+
COPY ./docker/bootstrap-runtime-env.sh /
RUN ./bootstrap-runtime-env.sh && rm bootstrap-runtime-env.sh
@@ -68,6 +73,11 @@ CMD ["/bin/bash"]
#
FROM $DEV_BASE_OS as dev
+# Copy the license and notice files into the image
+# so that it is propagated to all derived dev images.
+COPY ./LICENSE.txt /NOTICES/LICENSE.txt
+COPY ./NOTICE.txt /NOTICES/NOTICE.txt
+
COPY ./docker/bootstrap-dev-env.sh /
COPY ./docker/bootstrap-java-env.sh /
COPY ./docker/bootstrap-python-env.sh /