OpenMetadata/ingestion/Dockerfile

14 lines
483 B
Docker
Raw Normal View History

FROM python:3.9-slim
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 && \
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/*
RUN pip install 'openmetadata-ingestion[sample-data,elasticsearch,mysql]' apache-airflow==2.1.4
COPY ./ingestion /ingestion
RUN pip install '.[sample-data,elasticsearch,mysql]'
RUN chmod 755 ingestion_dependency.sh
EXPOSE 8080
CMD [ "./ingestion_dependency.sh" ]