diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cad322f1..76bb16456 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,8 @@ All notable changes to this project will be documented in this file. `check-permissions-ownership.sh` provided in stackable-base image ([#1025]). - zookeeper: check for correct permissions and ownerships in /stackable folder via `check-permissions-ownership.sh` provided in stackable-base image ([#1043]). +- nifi: Build and add OPA authorizer plugin nar ([#1058]). +- nifi: Add [nifi-iceberg-bundle](https://github.com/stackabletech/nifi-iceberg-bundle) for NiFi `2.2.0` ([#1060], [#1106]). - java: Add JDK 24 ([#1097]). - ci: Add golang image to mirror workflow ([#1103]). - hbase: add 2.6.2 and upgrade dependencies ([#1101]) @@ -108,6 +110,7 @@ All notable changes to this project will be documented in this file. [#1054]: https://github.com/stackabletech/docker-images/pull/1054 [#1055]: https://github.com/stackabletech/docker-images/pull/1055 [#1056]: https://github.com/stackabletech/docker-images/pull/1056 +[#1058]: https://github.com/stackabletech/docker-images/pull/1058 [#1060]: https://github.com/stackabletech/docker-images/pull/1060 [#1090]: https://github.com/stackabletech/docker-images/pull/1090 [#1091]: https://github.com/stackabletech/docker-images/pull/1091 diff --git a/nifi/Dockerfile b/nifi/Dockerfile index 591a9b5c5..68ef84e44 100644 --- a/nifi/Dockerfile +++ b/nifi/Dockerfile @@ -83,7 +83,7 @@ mkdir -p /stackable # NiFI 1.x natively supports Iceberg, no need to build an iceberg-bundle for it if [[ "${PRODUCT}" != 1.* ]] ; then - curl "https://github.com/stackabletech/nifi-iceberg-bundle/archive/refs/tags/${NIFI_ICEBERG_BUNDLE}.tar.gz" | tar -xzC . + curl -L "https://github.com/stackabletech/nifi-iceberg-bundle/archive/refs/tags/${NIFI_ICEBERG_BUNDLE}.tar.gz" | tar -xzC . cd nifi-iceberg-bundle-${NIFI_ICEBERG_BUNDLE} || exit sed -i -e "s/{{ NIFI_VERSION }}/${PRODUCT}/g" pom.xml @@ -112,6 +112,35 @@ chmod g=u /stackable/*.sbom.json fi EOF +FROM stackable/image/java-devel AS opa-authorizer-builder + +ARG NIFI_OPA_AUTHORIZER_PLUGIN +ARG STACKABLE_USER_UID +ARG PRODUCT + +USER ${STACKABLE_USER_UID} +WORKDIR /build + +RUN <