Skip to content

Commit bf70511

Browse files
committed
Fix docker demo to work with new zip layout
1 parent cd7bf1d commit bf70511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ echo "Building the MongoDB Kafka Connector"
55
cd ..
66
./gradlew clean createConfluentArchive
77
echo -e "Unzipping the confluent archive plugin....\n"
8-
unzip -d ./build/confluent/kafka-connect-mongodb ./build/confluent/*.zip
8+
unzip -d ./build/confluent ./build/confluent/*.zip
9+
find ./build/confluent -maxdepth 1 -type d ! -wholename "./build/confluent" -exec mv {} ./build/confluent/kafka-connect-mongodb \;
910
)
1011

1112
echo "Starting docker ."

0 commit comments

Comments
 (0)