diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e7aacf36..98706acfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file. ### Added +- airflow: check for correct permissions and ownerships in /stackable folder via + `check-permissions-ownership.sh` provided in stackable-base image ([#1054]). - hadoop: check for correct permissions and ownerships in /stackable folder via `check-permissions-ownership.sh` provided in stackable-base image ([#1029]). - hbase: check for correct permissions and ownerships in /stackable folder via @@ -46,6 +48,7 @@ All notable changes to this project will be documented in this file. [#1042]: https://github.com/stackabletech/docker-images/pull/1042 [#1044]: https://github.com/stackabletech/docker-images/pull/1044 [#1050]: https://github.com/stackabletech/docker-images/pull/1050 +[#1054]: https://github.com/stackabletech/docker-images/pull/1054 ## [25.3.0] - 2025-03-21 diff --git a/airflow/Dockerfile b/airflow/Dockerfile index b0723fd73..951f07ea9 100644 --- a/airflow/Dockerfile +++ b/airflow/Dockerfile @@ -28,6 +28,7 @@ ARG PRODUCT ARG STATSD_EXPORTER ARG PYTHON ARG TARGETARCH +ARG STACKABLE_USER_UID 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/ @@ -85,9 +86,17 @@ else end)' /tmp/sbom.json > /stackable/app/airflow-${PRODUCT}.cdx.json EOF -WORKDIR /stackable COPY --from=statsd_exporter-builder /statsd_exporter/statsd_exporter /stackable/statsd_exporter COPY --from=statsd_exporter-builder /statsd_exporter/statsd_exporter-${STATSD_EXPORTER}.cdx.json /stackable/statsd_exporter-${STATSD_EXPORTER}.cdx.json +COPY --from=gitsync-image --chown=${STACKABLE_USER_UID}:0 /git-sync /stackable/git-sync + +RUN <