File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ RUN apk add --no-cache \
1111RUN addgroup -S kafkaui && adduser -S kafkaui -G kafkaui
1212
1313# creating folder for dynamic config usage (certificates uploads, etc)
14- RUN mkdir /etc/kafkaui/
14+ RUN mkdir -p /etc/kafkaui/certs
15+ COPY ./import-certs.sh /usr/local/bin/import-certs.sh
16+ RUN chmod +x /usr/local/bin/import-certs.sh
17+
1518RUN chown kafkaui /etc/kafkaui
1619
1720USER kafkaui
@@ -24,4 +27,4 @@ ENV JAVA_OPTS=
2427EXPOSE 8080
2528
2629# see JmxSslSocketFactory docs to understand why add-opens is needed
27- CMD java --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED $JAVA_OPTS -jar api.jar
30+ CMD [ "sh" , "-c" , "/usr/local/bin/import-certs.sh && java --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED $JAVA_OPTS -jar api.jar" ]
You can’t perform that action at this time.
0 commit comments