1- # VERSION 1.7.1.3-2
2- # AUTHOR: Matthieu "Puckel_" Roisil
3- # DESCRIPTION: Basic Airflow container
4- # BUILD: docker build --rm -t puckel/docker-airflow
5- # SOURCE: https://github.com/puckel/docker-airflow
6-
7- FROM debian:jessie
8- MAINTAINER Puckel_
1+ FROM continuumio/miniconda3
92
103# Never prompts the user for choices on installation/configuration of packages
114ENV DEBIAN_FRONTEND noninteractive
@@ -34,6 +27,8 @@ RUN set -ex \
3427 build-essential \
3528 libblas-dev \
3629 liblapack-dev \
30+ libxml2-dev \
31+ libxslt1-dev \
3732 ' \
3833 && echo "deb http://http.debian.net/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list \
3934 && apt-get update -yqq \
@@ -48,13 +43,17 @@ RUN set -ex \
4843 && locale-gen \
4944 && update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \
5045 && useradd -ms /bin/bash -d ${AIRFLOW_HOME} airflow \
46+ && pip install --upgrade pip \
5147 && pip install pytz==2015.7 \
5248 && pip install cryptography \
5349 && pip install pyOpenSSL \
5450 && pip install ndg-httpsclient \
5551 && pip install pyasn1 \
5652 && pip install psycopg2 \
57- && pip install airflow[celery,postgresql,hive]==$AIRFLOW_VERSION \
53+ && pip install 'google-api-python-client>=1.5.0,<1.6.0' \
54+ && pip install 'oauth2client>=2.0.2,<2.1.0' \
55+ && pip install httplib2 \
56+ && pip install -e git+http://github.com/markovianhq/incubator-airflow.git#egg=airflow \
5857 && apt-get remove --purge -yqq $buildDeps libpq-dev \
5958 && apt-get clean \
6059 && rm -rf \
0 commit comments