Sign inSign up

sdhenry925/centos-airflow-python

By sdhenry925

•Updated over 6 years ago

Image
0

106

sdhenry925/centos-airflow-python repository overview

⁠Dockerfile

FROM sdhenry925/centos-tomcat-java:1.0
MAINTAINER Henry

# Install Python3.6
# RUN yum -y install https://centos7.iuscommunity.org/ius-release.rpm
RUN yum -y install https://repo.ius.io/ius-release-el7.rpm
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

RUN yum -y install python36u

# Install PIP for Python3.6
RUN yum -y install python36u-pip

# Update Python development tools
RUN yum -y install python36u-devel

# Upgrade setuptools if needed
RUN pip3.6 install --upgrade pip
RUN pip install --upgrade setuptools

# Basics python packages for Apache Airflow
RUN pip install -U pip setuptools wheel
RUN pip install pytz
RUN pip install pyOpenSSL
RUN pip install ndg-httpsclient

# Install Apache Airflow
RUN pip install apache-airflow

# Intiating Airflow DB, by default Apache airflow use Sqllite
RUN airflow initdb

# Export Airflow_home to /root/airflow, export AIRFLOW_HOME=/root/airflow
ENV AIRFLOW_HOME /root/airflow

RUN mkdir /root/airflow/dags

Tag summary

Content type

Image

Digest

Size

710.7 MB

Last updated

over 6 years ago

docker pull sdhenry925/centos-airflow-python:1.0