A fork of puckel/docker-airflow, with added codeql goodness.
Currently contains the packages needed to build Python and JavaScript databases.
- Based on Python (3.7-slim-stretch) official Image python:3.7-slim-stretch and uses the official Postgres as backend and Redis as queue
- Install Docker
- Install Docker Compose
- Following the Airflow release from Python Package Index
- LTS version of
node.js
Pull the image from the Docker repository.
docker pull annarailton/airflow-codeql-js-pyThis uses a chain of docker images, starting from node:lts-slim.
docker build -t annarailton/node-lts-python3.7-slim node-lts-python3.7-slim
docker build -t annarailton/node-lts-python3.7-slim-codeql node-lts-python3.7-slim-codeql
docker build -t annarailton/airflow-codeql-js-py .Or
docker build -t annarailton/airflow_codeql https://github.com/annarailton/docker-airflow.gitBy default, docker-airflow runs Airflow with SequentialExecutor :
docker run -d -p 8081:8080 annarailton/airflow-codeql-js-py webserverIf you want to run with LocalExecutor (recommended as then you get a proper database behind it), do
docker-compose up -dFor other instructions, see the original repo for this fork.