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 37d5ab0 commit dfee28c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 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/plugins/opensearch-security/securityconfig /elasticsearch/default-securityconfig

RUN chmod -c 755 /usr/local/bin/config-merger.sh
RUN chmod -c 777 /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 dfee28c

Please sign in to comment.