diff --git a/CHANGELOG.md b/CHANGELOG.md index c1e4b238c..015ab16ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ All notable changes to this project will be documented in this file. ### Changed +- airflow,superset: Use `uv` to build the product ([#1116]). - ubi-rust-builder: Bump Rust toolchain to 1.85.0, cargo-cyclonedx to 0.5.7, and cargo-auditable to 0.6.6 ([#1050]). - ubi9-rust-builder: Bump base image and update protoc to `30.2` ([#1091]). - stackable-devel: Bump ubi9 base image ([#1103]). @@ -53,6 +54,7 @@ All notable changes to this project will be documented in this file. ### Fixed +- airflow: Pin Cython version ([#1116]). - druid: reduce docker image size by removing the recursive chown/chmods in the final image ([#1039]). - hadoop: reduce docker image size by removing the recursive chown/chmods in the final image ([#1029]). - hbase: reduce docker image size by removing the recursive chown/chmods in the final image ([#1028]). @@ -63,6 +65,7 @@ All notable changes to this project will be documented in this file. - opa: reduce docker image size by removing the recursive chown/chmods in the final image ([#1038]). - opa: Manually install Go 1.23.9 ([#1103]). - spark-k8s: reduce docker image size by removing the recursive chown/chmods in the final image ([#1042]). +- superset: Pin Cython version ([#1116]). - trino: reduce docker image size by removing the recursive chown/chmods in the final image ([#1025]). - zookeeper: reduce docker image size by removing the recursive chown/chmods in the final image ([#1043]). - Fixed two hardcoded username references ([#1052]). @@ -104,6 +107,7 @@ All notable changes to this project will be documented in this file. [#1103]: https://github.com/stackabletech/docker-images/pull/1103 [#1106]: https://github.com/stackabletech/docker-images/pull/1106 [#1108]: https://github.com/stackabletech/docker-images/pull/1108 +[#1116]: https://github.com/stackabletech/docker-images/pull/1116 ## [25.3.0] - 2025-03-21 diff --git a/airflow/Dockerfile b/airflow/Dockerfile index fffa6fc25..ed241ff18 100644 --- a/airflow/Dockerfile +++ b/airflow/Dockerfile @@ -31,9 +31,7 @@ ARG TARGETARCH ARG STACKABLE_USER_UID ARG S3FS ARG CYCLONEDX_BOM - -COPY airflow/constraints-${PRODUCT}-python${PYTHON}.txt /tmp/constraints.txt -COPY --from=opa-auth-manager-builder /tmp/opa-auth-manager/dist/opa_auth_manager-0.1.0-py3-none-any.whl /tmp/ +ARG UV # The mysql provider is currently excluded. # Requires implementation of https://github.com/apache/airflow/blob/2.2.5/scripts/docker/install_mysql.sh @@ -62,19 +60,27 @@ RUN microdnf update && \ microdnf clean all && \ rm -rf /var/cache/yum +COPY airflow/stackable/constraints/${PRODUCT}/constraints-python${PYTHON}.txt /tmp/constraints.txt +COPY airflow/stackable/constraints/${PRODUCT}/build-constraints-python${PYTHON}.txt /tmp/build-constraints.txt +COPY --from=opa-auth-manager-builder /tmp/opa-auth-manager/dist/opa_auth_manager-0.1.0-py3-none-any.whl /tmp/ + RUN <