Skip to content

Commit 1461873

Browse files
tekipandakavinrites
authored andcommitted
fix: connector jar was replacing the folder instead of getting added as a content inside the folder
The connector jar was not placed inside the folder connectors/ Signed-off-by: Kavin <t3k1panda@gmail.com>
1 parent 989c7a7 commit 1461873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ COPY --chown=esuser:esgroup --from=builder /opt/kafka/libs/ /opt/kafka/libs/
1919
COPY --chown=esuser:esgroup --from=builder /opt/kafka/config/ /opt/kafka/config/
2020
RUN mkdir /opt/kafka/logs && chown esuser:esgroup /opt/kafka/logs
2121

22-
COPY --chown=esuser:esgroup target/kafka-connect-*-jar-with-dependencies.jar /opt/connectors
22+
COPY --chown=esuser:esgroup target/kafka-connect-*-jar-with-dependencies.jar /opt/connectors/
2323

2424
WORKDIR /opt/kafka
2525

2626
EXPOSE 8083
2727

2828
USER esuser
2929

30-
ENTRYPOINT ["./bin/connect-distributed.sh", "config/connect-distributed.properties"]
30+
ENTRYPOINT ["./bin/connect-distributed.sh", "config/connect-distributed.properties"]

0 commit comments

Comments
 (0)