Skip to content

Commit 6d01056

Browse files
author
Vitor
committed
[Dockerfile] up to airflow 2.6 and python 3.10
1 parent 837792b commit 6d01056

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM apache/airflow:2.5.0-python3.9
1+
FROM apache/airflow:2.6.1-python3.10
22

33
ARG PYTHON_DEPS=" \
44
ctds==1.12.0 \
@@ -62,7 +62,7 @@ RUN apt-get update \
6262
&& update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
6363

6464
# Instala certificado `Thawte` intermediário
65-
RUN curl https://ssltools.digicert.com/chainTester/webservice/validatecerts/certificate?certKey=issuer.intermediate.cert.98&fileName=Thawte%20RSA%20CA%202018&fileExtension=txt >> /home/airflow/.local/lib/python3.9/site-packages/certifi/cacert.pem
65+
RUN curl https://ssltools.digicert.com/chainTester/webservice/validatecerts/certificate?certKey=issuer.intermediate.cert.98&fileName=Thawte%20RSA%20CA%202018&fileExtension=txt >> /home/airflow/.local/lib/python3.10/site-packages/certifi/cacert.pem
6666

6767
USER airflow
6868

@@ -85,4 +85,4 @@ RUN if [ -n "${PYTHON_DEPS}" ]; then pip install ${PYTHON_DEPS}; fi \
8585
&& mkdir /opt/airflow/export-data
8686

8787
RUN while [[ "$(curl -s -o /tmp/thawte.pem -w ''%{http_code}'' https://ssltools.digicert.com/chainTester/webservice/validatecerts/certificate?certKey=issuer.intermediate.cert.98&fileName=Thawte%20RSA%20CA%202018&fileExtension=txt)" != "200" ]]; do sleep 1; done
88-
RUN cat /tmp/thawte.pem >> /home/airflow/.local/lib/python3.9/site-packages/certifi/cacert.pem
88+
RUN cat /tmp/thawte.pem >> /home/airflow/.local/lib/python3.10/site-packages/certifi/cacert.pem

0 commit comments

Comments
 (0)