This commit is contained in:
marsal wang
2021-12-31 00:19:49 +08:00
parent b8ac6eaee2
commit eb98f69d42
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,3 @@
FROM docker.io/bitnami/elasticsearch:7.16.2-debian-10-r0
RUN /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/

View File

@ -193,10 +193,10 @@ extraVolumeMounts: []
## Specify dictionary of scripts to be run at first boot
## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory
## For example:
# initScripts:
# my_init_script.sh: |
# #!/bin/sh
# /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip
initScripts:
my_init_script.sh: |
#!/bin/sh
/opt/bitnami/elasticsearch/bin/elasticsearch-plugin install -b https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.16.2/elasticsearch-analysis-ik-7.16.2.zip
# initScripts: {}
## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.