А
Size: a a a
А
RB
python ./path_to_dag
? Что значит в контейнере нет? в pip list нет или airflow не видит?А
python ./path_to_dag
? Что значит в контейнере нет? в pip list нет или airflow не видит?А
GB
GB
FROM
apache/airflow:2.0.1-python3.8
USER
root
RUN
apt-get update \
&&
apt-get install -y --no-install-recommends \
gcc git \
&&
apt-get autoremove -yqq --purge \
&&
apt-get clean \
&&
rm -rf /var/lib/apt/lists/
*
USER
airflow
COPY
requirements.txt /requirements.txt
RUN
pip install --no-cache-dir \
--upgrade-strategy only-if-needed \
--user -r /requirements.txt \
-c "https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.8.txt"
COPY
airflow.cfg ./airflow.cfg
GB
А
ФЧ
GB
GB
ФЧ
GB
ФЧ