Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the airflow version to 2.5.2(py3.8) in Dockerfile. #167

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker/airflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM apache/airflow:2.2.3-python3.8
FROM apache/airflow:2.5.2-python3.8

ENV DEBIAN_FRONTEND noninteractive

Expand All @@ -25,3 +25,5 @@ RUN pip install --no-cache-dir 'loguru>=0.5.3' \

RUN pip install --no-cache-dir 'apache-airflow[password]==2.2.3'
RUN pip install --no-cache-dir 'multidict==5.2.0'

RUN pip install markupsafe==2.0.1
27 changes: 27 additions & 0 deletions docker/airflow/Dockerfile-2.2.3-python3.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM apache/airflow:2.2.3-python3.8

ENV DEBIAN_FRONTEND noninteractive

USER root
RUN sudo apt-get update && sudo ACCEPT_EULA=Y apt-get upgrade -y -q --assume-yes
RUN sudo apt-get install git gcc -y -q

USER airflow
RUN /usr/local/bin/python -m pip install --upgrade pip
RUN pip install --no-cache-dir 'grimoire-elk>=0.99.0'
RUN pip install --no-cache-dir git+https://github.com/oss-know/grimoirelab-perceval@development
RUN pip install --no-cache-dir 'pandas>=1.4.0' 'scikit-learn>=1.0.2' 'numpy>=1.21'
RUN pip install --no-cache-dir 'loguru>=0.5.3' \
'opensearch-py>=2.0.0' \
'PyGithub>=1.54.1' \
'GitPython>=3.1.24' \
'urllib3>=1.26.7' \
'tenacity>=8.0.1' \
'requests>=2.26.0' \
'clickhouse-driver[lz4,zstd,numpy]>=0.2.2' \
'zulip~=0.8.2' \
'geopy>=2.2.0'

RUN pip install --no-cache-dir 'apache-airflow[password]==2.2.3'
RUN pip install --no-cache-dir 'multidict==5.2.0'