Commit edf0f1b0 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add conda/init.sh

parent 75bea14d
Loading
Loading
Loading
Loading

airflow/conda/init.sh

0 → 100644
+20 −0
Original line number Diff line number Diff line
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py312_25.5.1-1-Linux-x86_64.sh

bash Miniconda3-py312_25.5.1-1-Linux-x86_64.sh -b
./miniconda3/bin/conda activate

# exit && ssh airflow

# Create conda environment
conda create --name airflow python=3.12
# conda env remove --name airflow
conda activate airflow
# conda deactivate

pip install "apache-airflow==3.0.4" apache-airflow-providers-google==10.1.0

# 在 Docker 中运行 Airflow
#https://airflow.apache.ac.cn/docs/apache-airflow/stable/howto/docker-compose/index.html#

# 下载 docker-compose.yaml
curl -LfO 'https://airflow.apache.ac.cn/docs/apache-airflow/3.0.0/docker-compose.yaml'
 No newline at end of file