From 9152bfceb4f60fefb4979a6c03afd91ca47f3fcd Mon Sep 17 00:00:00 2001
From: Austin Anderson <angerson@google.com>
Date: Fri, 30 Nov 2018 14:58:30 -0800
Subject: [PATCH] Add Apache license notification

---
 tensorflow/tools/dockerfiles/tests/build-cpu.sh  | 15 +++++++++++++++
 tensorflow/tools/dockerfiles/tests/build-gpu.sh  | 16 ++++++++++++++++
 tensorflow/tools/dockerfiles/tests/import-gpu.sh | 16 ++++++++++++++++
 tensorflow/tools/dockerfiles/tests/import.sh     | 16 ++++++++++++++++
 4 files changed, 63 insertions(+)

diff --git a/tensorflow/tools/dockerfiles/tests/build-cpu.sh b/tensorflow/tools/dockerfiles/tests/build-cpu.sh
index 337239dc38c..bcdc4c2139c 100755
--- a/tensorflow/tools/dockerfiles/tests/build-cpu.sh
+++ b/tensorflow/tools/dockerfiles/tests/build-cpu.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env bash
 
+# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
+#
+# Licensed 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.
+# ============================================================================
+
 # Download and build TensorFlow.
 set -euxo pipefail
 git clone --branch=master --depth=1 https://github.com/tensorflow/tensorflow.git /tensorflow
diff --git a/tensorflow/tools/dockerfiles/tests/build-gpu.sh b/tensorflow/tools/dockerfiles/tests/build-gpu.sh
index 7a1e7ad3400..76b25d5a741 100755
--- a/tensorflow/tools/dockerfiles/tests/build-gpu.sh
+++ b/tensorflow/tools/dockerfiles/tests/build-gpu.sh
@@ -1,4 +1,20 @@
 #!/usr/bin/env bash
+
+# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
+#
+# Licensed 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.
+# ============================================================================
+
 # Download and build TensorFlow.
 set -euxo pipefail
 git clone --branch=master --depth=1 https://github.com/tensorflow/tensorflow.git /tensorflow
diff --git a/tensorflow/tools/dockerfiles/tests/import-gpu.sh b/tensorflow/tools/dockerfiles/tests/import-gpu.sh
index 214e5ccf2cf..6559210dcbf 100755
--- a/tensorflow/tools/dockerfiles/tests/import-gpu.sh
+++ b/tensorflow/tools/dockerfiles/tests/import-gpu.sh
@@ -1,2 +1,18 @@
 #!/usr/bin/env bash
+
+# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
+#
+# Licensed 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.
+# ============================================================================
+
 python -c 'import tensorflow as tf; tf.test.is_gpu_available() or exit(1)'
diff --git a/tensorflow/tools/dockerfiles/tests/import.sh b/tensorflow/tools/dockerfiles/tests/import.sh
index 79998aad778..b73bd86a852 100755
--- a/tensorflow/tools/dockerfiles/tests/import.sh
+++ b/tensorflow/tools/dockerfiles/tests/import.sh
@@ -1,3 +1,19 @@
 #!/usr/bin/env bash
+
+# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
+#
+# Licensed 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.
+# ============================================================================
+
 set -euxo pipefail
 python -c 'import tensorflow as tf'