Skip to content

Commit

Permalink
oc ready (#82)
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
Signed-off-by: Tamal Saha <[email protected]>
Co-authored-by: Tamal Saha <[email protected]>
  • Loading branch information
pritamdas99 and tamalsaha committed Dec 15, 2024
1 parent eff4c70 commit 65e4de1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions elasticsearch-init/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ COPY --from=yq /yq /usr/bin/yq
COPY --from=elasticsearch /usr/share/opensearch/config /elasticsearch/default-config
COPY --from=elasticsearch /usr/share/opensearch/config/opensearch-security /elasticsearch/default-securityconfig

RUN chmod -c 755 /usr/local/bin/config-merger.sh
RUN chmod -c 777 /usr/local/bin/config-merger.sh

ENTRYPOINT ["/bin/bash","/usr/local/bin/config-merger.sh"]
RUN chgrp -R 0 /elasticsearch/default-config \
&& chmod -R g=u /elasticsearch/default-config

RUN chgrp -R 0 /elasticsearch/default-securityconfig \
&& chmod -R g=u /elasticsearch/default-securityconfig

ENTRYPOINT ["/bin/bash","/usr/local/bin/config-merger.sh"]

0 comments on commit 65e4de1

Please sign in to comment.