Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Commit

Permalink
Add airflow to base Docker image and license (#1895)
Browse files Browse the repository at this point in the history
* Adding apache-airflow to the base Docker image

* Add apache-airflow to py3 as well

* Add apache license for airflow

* Fixing text for airflow license
  • Loading branch information
rajivpb authored Jan 9, 2018
1 parent ab49845 commit 3348574
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions containers/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour

# Setup Python packages. Rebuilding numpy/scipy is expensive so we move this early
# to reduce the chance that prior steps can cause changes requiring a rebuild.
pip install -U --upgrade-strategy only-if-needed --no-cache-dir apache-airflow==1.9.0 && \
pip install -U --upgrade-strategy only-if-needed --no-cache-dir numpy==1.11.2 && \
pip install -U --upgrade-strategy only-if-needed --no-cache-dir pandas==0.19.1 && \
pip install -U --upgrade-strategy only-if-needed --no-cache-dir scipy==0.18.0 && \
Expand Down Expand Up @@ -101,6 +102,7 @@ RUN echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sour
rm ./get-pip.py && \

# Install other Python 3 packages
pip3 install -U --upgrade-strategy only-if-needed --no-cache-dir apache-airflow==1.9.0 && \
pip3 install -U --upgrade-strategy only-if-needed --no-cache-dir numpy==1.11.2 && \
pip3 install -U --upgrade-strategy only-if-needed --no-cache-dir pandas==0.19.1 && \
pip3 install -U --upgrade-strategy only-if-needed --no-cache-dir scipy==0.18.0 && \
Expand Down
14 changes: 14 additions & 0 deletions third_party/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4744,3 +4744,17 @@ 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.
"""
airflow
"""
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.

0 comments on commit 3348574

Please sign in to comment.