Skip to content

Commit d451599

Browse files
committed
move extras to argument
1 parent ee0b6b9 commit d451599

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

airflow/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ ARG STACKABLE_USER_UID
3232
ARG S3FS
3333
ARG CYCLONEDX_BOM
3434
ARG UV
35+
ARG EXTRAS
3536

37+
COPY airflow/constraints-${PRODUCT}-python${PYTHON}.txt /tmp/constraints.txt
38+
COPY --from=opa-auth-manager-builder /tmp/opa-auth-manager/dist/opa_auth_manager-0.1.0-py3-none-any.whl /tmp/
39+
40+
# Airflow "extras" packages are listed here: https://airflow.apache.org/docs/apache-airflow/stable/extra-packages-ref.html
41+
# They evolve over time and thus belong to the version-specific arguments.
3642
# The mysql provider is currently excluded.
3743
# Requires implementation of https://github.com/apache/airflow/blob/2.2.5/scripts/docker/install_mysql.sh
38-
ENV AIRFLOW_EXTRAS=async,amazon,celery,cncf-kubernetes,docker,elasticsearch,fab,ftp,grpc,hashicorp,http,ldap,google,microsoft-azure,odbc,pandas,postgres,redis,sendgrid,sftp,slack,ssh,statsd,trino
44+
ENV AIRFLOW_EXTRAS=${EXTRAS}
3945

4046
RUN microdnf update && \
4147
microdnf install \

airflow/versions.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"tini": "0.19.0",
1010
"vector": "0.46.1",
1111
"uv": "0.7.3",
12+
"extras": "async,amazon,celery,cncf.kubernetes,docker,dask,elasticsearch,ftp,grpc,hashicorp,http,ldap,google,google_auth,microsoft.azure,odbc,pandas,postgres,redis,sendgrid,sftp,slack,ssh,statsd,virtualenv,trino",
1213
},
1314
{
1415
"product": "2.10.4",
@@ -20,6 +21,7 @@
2021
"tini": "0.19.0",
2122
"vector": "0.46.1",
2223
"uv": "0.7.3",
24+
"extras": "async,amazon,celery,cncf.kubernetes,docker,dask,elasticsearch,ftp,grpc,hashicorp,http,ldap,google,google_auth,microsoft.azure,odbc,pandas,postgres,redis,sendgrid,sftp,slack,ssh,statsd,virtualenv,trino",
2325
},
2426
{
2527
"product": "2.10.5",
@@ -31,13 +33,18 @@
3133
"tini": "0.19.0",
3234
"vector": "0.46.1",
3335
"uv": "0.7.3",
36+
"extras": "async,amazon,celery,cncf.kubernetes,docker,dask,elasticsearch,ftp,grpc,hashicorp,http,ldap,google,google_auth,microsoft.azure,odbc,pandas,postgres,redis,sendgrid,sftp,slack,ssh,statsd,virtualenv,trino",
3437
},
3538
{
3639
"product": "3.0.1",
3740
"python": "3.12",
3841
"git_sync": "v4.4.0",
39-
"statsd_exporter": "0.28.0",
42+
"s3fs": "2024.9.0",
43+
"cyclonedx_bom": "6.0.0",
44+
"shared/statsd-exporter": "0.28.0",
4045
"tini": "0.19.0",
41-
"vector": "0.43.1",
46+
"vector": "0.46.1",
47+
"uv": "0.7.3",
48+
"extras": "async,amazon,celery,cncf-kubernetes,docker,elasticsearch,fab,ftp,grpc,hashicorp,http,ldap,google,microsoft-azure,odbc,pandas,postgres,redis,sendgrid,sftp,slack,ssh,statsd,trino",
4249
},
4350
]

0 commit comments

Comments
 (0)