Skip to content

Commit

Permalink
Update the airflow version to 2.5.2(py3.8) in Dockerfile.
Browse files Browse the repository at this point in the history
Add the constraint of markupsafe version to 2.0.1, according to the ref:
aws/aws-sam-cli#3661 (comment)

Add a snapshot of version 2.2.3's Dockerfile
  • Loading branch information
crystaldust committed Mar 20, 2023
1 parent a5db1a9 commit 1bd1076
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
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'

0 comments on commit 1bd1076

Please sign in to comment.