Skip to content

Commit b0b544d

Browse files
author
Vitor
committed
update great expectations e pequenos ajustes
1 parent 151e870 commit b0b544d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG PYTHON_DEPS=" \
1111
py-trello==0.17.1 \
1212
PyPDF2==1.26.0 \
1313
frictionless==5.11.1 \
14-
great-expectations==0.15.36 \
14+
great-expectations==0.17.2 \
1515
unidecode==1.2.0 \
1616
odfpy==1.4.1 \
1717
openpyxl==3.0.7 \
@@ -66,10 +66,14 @@ RUN curl https://ssltools.digicert.com/chainTester/webservice/validatecerts/cert
6666

6767
USER airflow
6868

69+
RUN if [ -n "${PYTHON_DEPS}" ]; \
70+
then pip install --no-cache-dir --user ${PYTHON_DEPS}; \
71+
fi \
72+
&& mkdir /opt/airflow/export-data
73+
6974
RUN pip install --no-cache-dir --user \
7075
apache-airflow[jdbc,microsoft.mssql,samba,google_auth,odbc,sentry] \
7176
apache-airflow-providers-docker \
72-
airflow-provider-great-expectations \
7377
apache-airflow-providers-common-sql \
7478
apache-airflow-providers-telegram
7579

@@ -81,8 +85,5 @@ RUN \
8185
echo ***apache-airflow-providers-fastetl not installed*** ; \
8286
fi
8387

84-
RUN if [ -n "${PYTHON_DEPS}" ]; then pip install ${PYTHON_DEPS}; fi \
85-
&& mkdir /opt/airflow/export-data
86-
8788
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
8889
RUN cat /tmp/thawte.pem >> /home/airflow/.local/lib/python3.10/site-packages/certifi/cacert.pem

0 commit comments

Comments
 (0)