Skip to content

Commit

Permalink
[ReviewRequired] Adding License files for MXNet Dockerfiles. (apache#…
Browse files Browse the repository at this point in the history
…9500)

* License to dockerfiles

* Remove Apache License from Scala Dockerfile

* Addded the docker/dockerfiles to whitelist because teh script adds license header to the scala dockerfile
  • Loading branch information
mbaijal authored and eric-haibin-lin committed Jan 23, 2018
1 parent fbbb4ab commit 25f7617
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docker/Dockerfiles/Dockerfile.in.scala
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
/*
* 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.
*/

# -*- mode: dockerfile -*-
# part of the dockerfile to install the scala binding

Expand Down
20 changes: 20 additions & 0 deletions docker/Dockerfiles/License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Dockerfiles License

### All Dockerfiles in this directory are provided under an Apache 2.0 license.

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.
20 changes: 20 additions & 0 deletions docker_multiarch/License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Dockerfiles License

### All Dockerfiles in this directory are provided under an Apache 2.0 license.

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.
1 change: 1 addition & 0 deletions tools/license_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
# the folders or files that will be ignored
_WHITE_LIST = ['R-package/',
'cub/',
'docker/Dockerfiles',
'dlpack/',
'dmlc-core/',
'mshadow/',
Expand Down

0 comments on commit 25f7617

Please sign in to comment.