File tree Expand file tree Collapse file tree 2 files changed +8
-22
lines changed Expand file tree Collapse file tree 2 files changed +8
-22
lines changed Original file line number Diff line number Diff line change @@ -88,19 +88,18 @@ ARG PRODUCT
8888USER ${STACKABLE_USER_UID}
8989WORKDIR /stackable
9090
91- COPY --chown=${STACKABLE_USER_UID}:0 nifi/stackable/opa-authorizer/nifi-framework-api-version.patch /stackable/nifi-framework-api-version.patch
92-
9391# TODO: Set to tag after new release of nifi-opa-plugin
94- RUN git clone --depth 1 https://github.com/DavidGitter/nifi-opa-plugin.git && \
95- cd nifi-opa-plugin && \
96- git reset --hard cdf8c36 && \
97- git apply /stackable/nifi-framework-api-version.patch && \
98- cd authorizer && \
92+ RUN git clone --depth 1 --branch feat/reworked-opa-response https://github.com/DavidGitter/nifi-opa-plugin.git && \
93+ cd nifi-opa-plugin/authorizer && \
9994 mvn \
10095 --batch-mode \
10196 --no-transfer-progress \
10297 install \
103- -DskipTests
98+ -DskipTests \
99+ -Pnifi-${PRODUCT}
100+
101+ # Set correct permissions
102+ RUN chmod g=u /stackable/nifi-opa-plugin/authorizer/target/opa-authorizer.nar
104103
105104FROM stackable/image/java-base AS final
106105
@@ -151,7 +150,7 @@ ln -s /stackable/nifi-${PRODUCT} /stackable/nifi
151150chown --no-dereference ${STACKABLE_USER_UID}:0 /stackable/nifi
152151chmod --recursive g=u /stackable/python
153152chmod --recursive g=u /stackable/bin
154- chmod --recursive g=u /stackable/nifi-${PRODUCT}
153+ chmod g=u /stackable/nifi-${PRODUCT}
155154EOF
156155
157156# ----------------------------------------
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments