Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM apache/airflow:2.3.0-python3.10
- USER root
- RUN apt-get update
- RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/' /etc/ssl/openssl.cnf
- RUN apt-get install -y libaio1 wget unzip telnet
- WORKDIR /opt/oracle
- RUN wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip && \
- unzip instantclient-basiclite-linuxx64.zip && \
- rm -f instantclient-basiclite-linuxx64.zip && \
- cd instantclient* && \
- rm -f *jdbc* *occi* *mysql* *jar uidrvci genezi adrci && \
- echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf && \
- ldconfig
- RUN apt-get update && apt-get install -y python-dev python3-dev libevent-dev gcc libre2-dev
- USER airflow
- #RUN apt-get update
- #RUN apt-get update && apt-get install -y python-dev python3-dev libevent-dev gcc libre2-dev
- #RUN pip install pip==21.3.1
- RUN pip install --upgrade pip
- RUN pip install pyTelegramBotAPI cx_Oracle influxdb imap_tools bs4 aiogram loguru pyre2 art elasticsearch argcomplete apache-airflow-providers-oracle clickhouse-driver gspread oauth2client PySocks
- WORKDIR /
- #RUN airflow db upgrade
- #RUN airflow resetdb
- #RUN airflow initdb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement