Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
barkbay committed Oct 9, 2018
1 parent 3a4f945 commit 3e612a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions elasticsearch/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ RUN ln -s /usr/local/bin/logging ${HOME}/logging && \
${HOME}/install.sh && \
rm -rf /tmp/lib

# Patch to access an external Openshift cluster
COPY external_openshift/openshift-elasticsearch-plugin-5.6.10.4.jar /usr/share/elasticsearch/plugins/openshift-elasticsearch/openshift-elasticsearch-plugin-5.6.10.4.jar

# Statefulset : set a ttl on DNS
RUN echo "networkaddress.cache.ttl=30" >> /etc/alternatives/jre_openjdk/lib/security/java.security

WORKDIR ${HOME}
USER 1000
CMD ["sh", "/opt/app-root/src/run.sh"]
1 change: 1 addition & 0 deletions elasticsearch/external_openshift/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file has been built from https://github.com/barkbay/openshift-elasticsearch-plugin/tree/external_openshift_rc1
Binary file not shown.

0 comments on commit 3e612a4

Please sign in to comment.