File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ RUN <<EOF
120120mkdir -p /stackable
121121
122122curl -L "https://github.com/DavidGitter/nifi-opa-plugin/archive/refs/tags/v${NIFI_OPA_AUTHORIZER_PLUGIN}.tar.gz" | tar -xzC .
123- cd nifi-opa-plugin-${NIFI_OPA_AUTHORIZER_PLUGIN}/authorizer
123+ cd nifi-opa-plugin-${NIFI_OPA_AUTHORIZER_PLUGIN}/authorizer || exit
124124
125125mvn \
126126 --batch-mode \
@@ -129,9 +129,8 @@ mvn \
129129 -DskipTests \
130130 -Pnifi-${PRODUCT}
131131
132- cd ..
133- cp ./authorizer/target/opa-authorizer.nar /stackable/opa-authorizer.nar
134- cp ./LICENSE /stackable/LICENSE
132+ cp ./target/opa-authorizer.nar /stackable/opa-authorizer.nar
133+ cp ../LICENSE /stackable/LICENSE
135134
136135# Set correct permissions
137136chmod g=u /stackable/opa-authorizer.nar
You can’t perform that action at this time.
0 commit comments