ARG KAFKA_CONNECT_VERSION=0.31.1-kafka-3.2.3 FROM quay.io/strimzi/kafka:${KAFKA_CONNECT_VERSION} USER root:root ARG PLUGIN_JARS=/opt/kafka/plugins RUN mkdir -p ${PLUGIN_JARS}/connect-plugins COPY ./kafka-thirdparty-plugins/ ${PLUGIN_JARS}/connect-plugins/ COPY ./metrics-config.json /opt/kafka/custom-config/metrics-config.json USER 1001