README.md 892 Bytes
Newer Older
Kishore Battula's avatar
Kishore Battula committed
1
2
# Airflow Docker Image

harshit aggarwal's avatar
harshit aggarwal committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Docker image for airflow deployment

For building the airflow docker image we need to download the below listed python packages in whl formats

1. osdu_api - [Link to Download](https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/packages)
2. osdu_airflow - [Link to Download](https://community.opengroup.org/osdu/platform/data-flow/ingestion/osdu-airflow-lib/-/packages)
3. osdu_ingestion - [Link to Download](https://community.opengroup.org/osdu/platform/data-flow/ingestion/osdu-ingestion-lib/-/packages)

Place the whl files for these python packages in the same directory as that of the Airflow Dockerfile

Execute below command

```
docker build -t <image_name> --build-arg BUILD-VERSION=<python_package_version> .
```
For instance 

```
docker build -t msosdu.azurecr.io/airflow-docker-image:v0.10 --build-arg BUILD-VERSION=0.12.0 .
```