2021-10-26 21:44:24 +05:30
|
|
|
FROM python:3.9-slim
|
2021-10-30 21:35:30 +05:30
|
|
|
ENV AIRFLOW_HOME=/airflow
|
|
|
|
WORKDIR /ingestion
|
2021-08-01 14:27:44 -07:00
|
|
|
|
2021-08-03 01:24:50 +05:30
|
|
|
RUN apt-get update && \
|
2021-10-30 21:35:30 +05:30
|
|
|
apt-get install -y gcc libsasl2-dev curl unixodbc-dev wget --no-install-recommends && \
|
2021-08-03 01:24:50 +05:30
|
|
|
rm -rf /var/lib/apt/lists/*
|
2021-10-26 21:44:24 +05:30
|
|
|
RUN pip install 'openmetadata-ingestion[sample-data,elasticsearch,mysql]' apache-airflow==2.1.4
|
|
|
|
COPY ./ingestion /ingestion
|
2021-10-30 21:35:30 +05:30
|
|
|
RUN pip install '.[sample-data,elasticsearch,mysql]'
|
2021-10-26 21:44:24 +05:30
|
|
|
RUN chmod 755 ingestion_dependency.sh
|
2021-11-03 20:48:52 +05:30
|
|
|
EXPOSE 8080
|
2021-10-26 21:44:24 +05:30
|
|
|
CMD [ "./ingestion_dependency.sh" ]
|