Skip to content

Commit

Permalink
fix: connector jar was replacing the folder instead of getting added …
Browse files Browse the repository at this point in the history
…as a content inside the folder

The connector jar was not placed inside the folder connectors/

Signed-off-by: Kavin <[email protected]>
  • Loading branch information
tekipanda authored and kavinrites committed Jul 20, 2023
1 parent 989c7a7 commit 1461873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ COPY --chown=esuser:esgroup --from=builder /opt/kafka/libs/ /opt/kafka/libs/
COPY --chown=esuser:esgroup --from=builder /opt/kafka/config/ /opt/kafka/config/
RUN mkdir /opt/kafka/logs && chown esuser:esgroup /opt/kafka/logs

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

WORKDIR /opt/kafka

EXPOSE 8083

USER esuser

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

0 comments on commit 1461873

Please sign in to comment.