Treat text fields as string and try beta Kibana image

This commit is contained in:
2022-09-12 08:27:13 +01:00
parent 40492b1595
commit 04b5dec843
5 changed files with 35 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -eo pipefail
echo "RUNNING ENTRYPOINT"
# check to see if this file is being run or sourced from another script
_is_sourced() {
@@ -25,7 +26,6 @@ docker_setup_env() {
export searchd_query_log=/var/log/manticore/query.log
[ ! -f /var/log/manticore/query.log ] && ln -sf /dev/stdout /var/log/manticore/query.log
fi
if [[ "${MCL}" == "1" ]]; then
LIB_MANTICORE_COLUMNAR="/var/lib/manticore/.mcl/lib_manticore_columnar.so"
LIB_MANTICORE_SECONDARY="/var/lib/manticore/.mcl/lib_manticore_secondary.so"
@@ -61,7 +61,8 @@ _main() {
if [ "${1#-}" != "$1" ]; then
set -- searchd "$@"
fi
if [ "$1" = 'searchd' ] && ! _searchd_want_help "@"; then
# Amended from searchd to sh since we're using sh to wait until searchd starts, then set the Kibana-specific options
if [ "$1" = 'sh' ] && ! _searchd_want_help "@"; then
docker_setup_env "$@"
# allow the container to be started with `--user`
if [ "$(id -u)" = '0' ]; then