Skip to content

Commit 7d1aece

Browse files
committed
fix hadolint
1 parent cd0948f commit 7d1aece

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nifi/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ RUN <<EOF
120120
mkdir -p /stackable
121121

122122
curl -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

125125
mvn \
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
137136
chmod g=u /stackable/opa-authorizer.nar

0 commit comments

Comments
 (0)