Skip to content

Commit

Permalink
[MOSIP-31575] Updated docker file.
Browse files Browse the repository at this point in the history
Signed-off-by: abhishek8shankar <[email protected]>
  • Loading branch information
abhishek8shankar committed Apr 12, 2024
1 parent 8e33811 commit edf2dcf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/es-kafka-connecter/kafka_connect_transforms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ LABEL commit_hash=${COMMIT_HASH}
LABEL commit_id=${COMMIT_ID}
LABEL build_time=${BUILD_TIME}

RUN confluent-hub install --no-prompt confluentinc/kafka-connect-elasticsearch:11.1.3
RUN confluent-hub install --no-prompt confluentinc/kafka-connect-elasticsearch:11.1.3 \
&& chown -R ${container_user}:${container_user} /home/${container_user}

ADD ./target/kafka_connect_transforms-*.jar /usr/share/java/my_transforms
ADD ./target/debezium-core-*.jar /usr/share/java/my_transforms

WORKDIR /home/${container_user}

RUN chown -R ${container_user}:${container_user} /home/${container_user}

USER ${container_user_uid}:${container_user_gid}

0 comments on commit edf2dcf

Please sign in to comment.