You are viewing a plain text version of this content. The canonical link for it is here.
Posted to legal-discuss@apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/03/19 15:38:00 UTC

[jira] [Created] (LEGAL-450) Using GPL binary software (hadolint) in Apache Airflow's CI and local development tool

Jarek Potiuk created LEGAL-450:
----------------------------------

             Summary: Using GPL binary software (hadolint) in Apache Airflow's CI and local development tool
                 Key: LEGAL-450
                 URL: https://issues.apache.org/jira/browse/LEGAL-450
             Project: Legal Discuss
          Issue Type: Question
            Reporter: Jarek Potiuk


We have a question whether it is OK from legal point of view to use GPL binary software in ASF Apache Airflow project. Can you confirm the below is good for ASF ?

 

For Apache Airflow (we are planning to use [https://github.com/hadolint/hadolint] to verify our Dockerfile correctness. Hadolint Licence is GPL, but we are not using it from the sources, nor modifying them. We are using it from binary image distributed via DockerHub: [https://hub.docker.com/r/hadolint/hadolint/dockerfile/] 

We plan to run it only as part of our Travis-CI build & test process (so we are not including the library nor image in our repository). We only want to use scripts that download and execute the binary (Link to PR [here|https://github.com/PolideaInternal/airflow/blob/ms-main-image/scripts/ci/ci_lint_dockerfile.sh#L26]):
{code:java}
docker run -v $(pwd)/Dockerfile:/root/Dockerfile -v $(pwd)/.hadolint.yaml:/root/.hadolint.yaml \
 -w /root hadolint/hadolint /bin/hadolint Dockerfile
{code}
We do the same in a script that we provide as a simple development tool to developers of Airflow (again this is just a script that executes the same command as above (which will Download the binary Docker image locally on the user's workstation and execute /bin/hadolint inside the container). Link to PR [here|https://github.com/PolideaInternal/airflow/blob/simplified-development-workflow/breeze#L818].

Another relevant piece of code is .hadolint.yaml file which is purely configuration file that specifies which errors should be ignored (we've added the ASF licence in configuration file as we add for all code in our repo). Link to PR [here|https://github.com/PolideaInternal/airflow/blob/ms-main-image/.hadolint.yaml]:
{code:java}
#
# 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.
#
ignored:
 - DL3006
 - DL3008
 - DL3005
 - DL3013{code}
 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org


Re: [jira] [Created] (LEGAL-450) Using GPL binary software (hadolint) in Apache Airflow's CI and local development tool

Posted by Thanyaphon Pansanguan <ca...@gmail.com>.
ธันยพร พานสงวน

เมื่อ 19 มี.ค. 2019 22:38 น. "Jarek Potiuk (JIRA)" <ji...@apache.org>
เขียนว่า

Jarek Potiuk created LEGAL-450:
----------------------------------

             Summary: Using GPL binary software (hadolint) in Apache
Airflow's CI and local development tool
                 Key: LEGAL-450
                 URL: https://issues.apache.org/jira/browse/LEGAL-450
             Project: Legal Discuss
          Issue Type: Question
            Reporter: Jarek Potiuk


We have a question whether it is OK from legal point of view to use GPL
binary software in ASF Apache Airflow project. Can you confirm the below is
good for ASF ?



For Apache Airflow (we are planning to use [
https://github.com/hadolint/hadolint] to verify our Dockerfile correctness.
Hadolint Licence is GPL, but we are not using it from the sources, nor
modifying them. We are using it from binary image distributed via
DockerHub: [https://hub.docker.com/r/hadolint/hadolint/dockerfile/]

We plan to run it only as part of our Travis-CI build & test process (so we
are not including the library nor image in our repository). We only want to
use scripts that download and execute the binary (Link to PR [here|
https://github.com/PolideaInternal/airflow/blob/ms-main-image/scripts/ci/ci_lint_dockerfile.sh#L26]
):
{code:java}
docker run -v $(pwd)/Dockerfile:/root/Dockerfile -v
$(pwd)/.hadolint.yaml:/root/.hadolint.yaml \
 -w /root hadolint/hadolint /bin/hadolint Dockerfile
{code}
We do the same in a script that we provide as a simple development tool to
developers of Airflow (again this is just a script that executes the same
command as above (which will Download the binary Docker image locally on
the user's workstation and execute /bin/hadolint inside the container).
Link to PR [here|
https://github.com/PolideaInternal/airflow/blob/simplified-development-workflow/breeze#L818
].

Another relevant piece of code is .hadolint.yaml file which is purely
configuration file that specifies which errors should be ignored (we've
added the ASF licence in configuration file as we add for all code in our
repo). Link to PR [here|
https://github.com/PolideaInternal/airflow/blob/ms-main-image/.hadolint.yaml
]:
{code:java}
#
# 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.
#
ignored:
 - DL3006
 - DL3008
 - DL3005
 - DL3013{code}








--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org