Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: add confluent-hub to ksqldb server and cli images #40

Merged
merged 1 commit into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cp-ksql-cli/Dockerfile.deb9
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ COPY include/etc/confluent/docker /etc/confluent/docker

RUN mkdir -p /etc/${COMPONENT} /etc/${COMPONENT}/secrets /var/log/${COMPONENT}

RUN echo "===> Installing confluent-hub..." \
&& wget http://client.hub.confluent.io/confluent-hub-client-latest.tar.gz \
&& tar xf confluent-hub-client-latest.tar.gz \
&& rm confluent-hub-client-latest.tar.gz

RUN bash /etc/confluent/docker/configure
ENV KSQL_LOG4J_OPTS=-Dlog4j.configuration=file:/etc/${COMPONENT}/log4j.properties

Expand Down
5 changes: 5 additions & 0 deletions cp-ksql-cli/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ COPY --chown=appuser:appuser include/etc/confluent/docker /etc/confluent/docker
RUN mkdir -p /etc/${COMPONENT} /etc/${COMPONENT}/secrets /var/log/${COMPONENT} /usr/logs \
&& chown appuser:appuser -R /etc/${COMPONENT} /var/log/${COMPONENT} /usr/logs

RUN echo "===> Installing confluent-hub..." \
&& wget http://client.hub.confluent.io/confluent-hub-client-latest.tar.gz \
&& tar xf confluent-hub-client-latest.tar.gz \
&& rm confluent-hub-client-latest.tar.gz

USER appuser

RUN bash /etc/confluent/docker/configure
Expand Down
5 changes: 5 additions & 0 deletions cp-ksql-server/Dockerfile.deb9
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ COPY include/etc/confluent/docker /etc/confluent/docker

RUN mkdir -p /etc/${COMPONENT} /etc/${COMPONENT}/secrets

RUN echo "===> Installing confluent-hub..." \
&& wget http://client.hub.confluent.io/confluent-hub-client-latest.tar.gz \
&& tar xf confluent-hub-client-latest.tar.gz \
&& rm confluent-hub-client-latest.tar.gz

RUN chmod +x /etc/confluent/docker/run
RUN chmod +x /etc/confluent/docker/configure
RUN chmod +x /etc/confluent/docker/launch
Expand Down
5 changes: 5 additions & 0 deletions cp-ksql-server/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ COPY --chown=appuser:appuser include/etc/confluent/docker /etc/confluent/docker
RUN mkdir -p /etc/${COMPONENT} /etc/${COMPONENT}/secrets /usr/logs \
&& chown appuser:appuser -R /etc/${COMPONENT} /usr/logs

RUN echo "===> Installing confluent-hub..." \
&& wget http://client.hub.confluent.io/confluent-hub-client-latest.tar.gz \
&& tar xf confluent-hub-client-latest.tar.gz \
&& rm confluent-hub-client-latest.tar.gz

RUN chmod +x /etc/confluent/docker/run
RUN chmod +x /etc/confluent/docker/configure
RUN chmod +x /etc/confluent/docker/launch
Expand Down