This is an automated email from the ASF dual-hosted git repository.
nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 71b1c6e Add license headers to ubuntu18 docker files and add
cloudpickle to rat exception file (#3218)
71b1c6e is described below
commit 71b1c6efe7dbdeb68aa20d9fa3faf3b9dfa0b8fa
Author: Ning Wang <[email protected]>
AuthorDate: Sat Mar 16 00:21:24 2019 -0700
Add license headers to ubuntu18 docker files and add cloudpickle to rat
exception file (#3218)
---
.rat-excludes | 3 +++
docker/compile/Dockerfile.ubuntu18.04 | 17 +++++++++++++++++
docker/dist/Dockerfile.dist.ubuntu18.04 | 17 +++++++++++++++++
3 files changed, 37 insertions(+)
diff --git a/.rat-excludes b/.rat-excludes
index 998fda4..939e30e 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -36,3 +36,6 @@ META-INF
cpplint\.py
kashmir
semver
+
+# Unrecognizable license
+cloudpickle.py
diff --git a/docker/compile/Dockerfile.ubuntu18.04
b/docker/compile/Dockerfile.ubuntu18.04
index c0271a0..390ac45 100644
--- a/docker/compile/Dockerfile.ubuntu18.04
+++ b/docker/compile/Dockerfile.ubuntu18.04
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
FROM ubuntu:18.04
# This is passed to the heron build command via the --config flag
diff --git a/docker/dist/Dockerfile.dist.ubuntu18.04
b/docker/dist/Dockerfile.dist.ubuntu18.04
index 1fa645c..5f81568 100644
--- a/docker/dist/Dockerfile.dist.ubuntu18.04
+++ b/docker/dist/Dockerfile.dist.ubuntu18.04
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
FROM ubuntu:18.04
RUN apt-get update