1
1
# for dev: docker build -t ghcr.io/gestaogovbr/airflow2-docker:latest-dev --build-arg dev_build=true .
2
2
3
- FROM apache/airflow:2.7.3 -python3.10
3
+ FROM apache/airflow:2.9.0 -python3.10
4
4
5
5
USER root
6
6
RUN apt-get update \
@@ -14,7 +14,7 @@ RUN apt-get update \
14
14
unzip \
15
15
git \
16
16
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add --no-tty - \
17
- && curl https://packages.microsoft.com/config/debian/11 /prod.list > /etc/apt/sources.list.d/mssql-release.list \
17
+ && curl https://packages.microsoft.com/config/debian/12 /prod.list > /etc/apt/sources.list.d/mssql-release.list \
18
18
&& apt-get update -yqq \
19
19
&& ACCEPT_EULA=Y apt-get install -yqq msodbcsql17 mssql-tools \
20
20
&& sed -i 's,^\( MinProtocol[ ]*=\) .*,\1 ' TLSv1.0',g' /etc/ssl/openssl.cnf \
@@ -47,26 +47,26 @@ COPY requirements-uninstall.txt .
47
47
COPY requirements-cdata-dags.txt .
48
48
49
49
RUN pip uninstall -y -r requirements-uninstall.txt && \
50
- pip install --no-cache-dir --user - r \
50
+ pip install --no-cache-dir -r \
51
51
https://raw.githubusercontent.com/gestaogovbr/Ro-dou/main/requirements.txt && \
52
- pip install --no-cache-dir --user \
53
- apache-airflow-providers-jdbc==4.1.0 \
54
- apache-airflow-providers-microsoft-mssql==3.5.0 \
55
- apache-airflow-providers-samba==4.3 .0 \
56
- apache-airflow-providers-odbc==4.1.0 \
57
- apache-airflow-providers-docker==3.8.0 \
58
- apache-airflow-providers-common-sql==1.8.0 \
59
- apache-airflow-providers-telegram==4.2 .0 \
60
- acryl-datahub-airflow-plugin==0.10.4 && \
61
- pip install --no-cache-dir --user - r requirements-cdata-dags.txt
52
+ pip install --no-cache-dir \
53
+ apache-airflow-providers-jdbc==4.2.2 \
54
+ apache-airflow-providers-microsoft-mssql==3.6.1 \
55
+ apache-airflow-providers-samba==4.5 .0 \
56
+ apache-airflow-providers-odbc==4.4.1 \
57
+ apache-airflow-providers-docker==3.9.1 \
58
+ apache-airflow-providers-common-sql==1.11.1 \
59
+ apache-airflow-providers-telegram==4.4 .0 \
60
+ acryl-datahub-airflow-plugin==0.13.1.2 && \
61
+ pip install --no-cache-dir -r requirements-cdata-dags.txt
62
62
63
63
ARG dev_build="false"
64
64
RUN \
65
65
if [[ "${dev_build}" == "false" ]] ; \
66
- then pip install --no-cache-dir --user apache-airflow-providers-fastetl; \
66
+ then pip install --no-cache-dir apache-airflow-providers-fastetl; \
67
67
else \
68
68
echo ***apache-airflow-providers-fastetl not installed*** && \
69
- pip install --no-cache-dir --user - r https://raw.githubusercontent.com/gestaogovbr/FastETL/main/requirements.txt ; \
69
+ pip install --no-cache-dir -r https://raw.githubusercontent.com/gestaogovbr/FastETL/main/requirements.txt ; \
70
70
fi
71
71
72
72
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
0 commit comments