This Dockerfile will install Apache Airflow from PyPi into a container.
-
Install Docker.
-
Download PostgresSQL container from public Docker Hub Registry:
docker pull postgres
-
Build the image from Dockerfile:
docker build -t=airflow github.com/ull-isaatc/airflow-docker
# docker run --name some-postgres -e POSTGRES_USER=airflow -e POSTGRES_PASSWORD=airflow -e POSTGRES_DB=airflow -d postgres
# docker run --name some-airflow -e LOAD_EX=y -p 8080:8080 airflow webserver