Update ES 8 to 8.13.2
This commit is contained in:
parent
9ac3c3c34b
commit
de8112909b
|
@ -29,6 +29,7 @@ job "elasticsearch" {
|
|||
}
|
||||
|
||||
|
||||
|
||||
volume "data" {
|
||||
source = "elasticsearch-data"
|
||||
type = "csi"
|
||||
|
@ -118,7 +119,7 @@ job "elasticsearch" {
|
|||
kill_timeout = "120s"
|
||||
|
||||
config {
|
||||
image = "danielberteaud/elasticsearch:8.13.1-1"
|
||||
image = "danielberteaud/elasticsearch:8.13.2-1"
|
||||
pids_limit = 1024
|
||||
readonly_rootfs = true
|
||||
volumes = [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM danielberteaud/alpine:24.4-1 AS builder
|
||||
|
||||
ARG ES_VERSION=8.13.1
|
||||
ARG ES_VERSION=8.13.2
|
||||
|
||||
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-linux-x86_64.tar.gz /tmp
|
||||
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-linux-x86_64.tar.gz.sha512 /tmp
|
||||
|
|
|
@ -34,7 +34,7 @@ vault write pki/elasticsearch/config/urls \
|
|||
ocsp_servers="${VAULT_ADDR}/v1/pki/elasticsearch/ocsp"
|
||||
|
||||
vault write pki/elasticsearch/config/cluster \
|
||||
path="${VAULT_ADDR}/v1pki/elasticsearch"
|
||||
path="${VAULT_ADDR}/v1/pki/elasticsearch"
|
||||
|
||||
vault write pki/elasticsearch/config/crl \
|
||||
auto_rebuild=true \
|
||||
|
|
|
@ -79,19 +79,19 @@ function build_elasticsearch7 {
|
|||
}
|
||||
function build_elasticsearch8 {
|
||||
if [ "${IMAGE_ELASTICSEARCH8_AVAILABLE:-0}" = "1" ]; then
|
||||
echo "Image danielberteaud/elasticsearch:8.13.1-1 already available"
|
||||
echo "Image danielberteaud/elasticsearch:8.13.2-1 already available"
|
||||
return
|
||||
fi
|
||||
if ! docker manifest inspect danielberteaud/elasticsearch:8.13.1-1 > /dev/null 2>&1; then
|
||||
echo "Building elasticsearch:8.13.1-1"
|
||||
if ! docker manifest inspect danielberteaud/elasticsearch:8.13.2-1 > /dev/null 2>&1; then
|
||||
echo "Building elasticsearch:8.13.2-1"
|
||||
export BUILDKIT_PROGRESS=plain
|
||||
docker build -t danielberteaud/elasticsearch:8.13.1-1 -t danielberteaud/elasticsearch:8 -t danielberteaud/elasticsearch8:latest --build-arg=ES_VERSION=8.13.1 output/images/elasticsearch &&\
|
||||
docker push danielberteaud/elasticsearch:8.13.1-1 &&\
|
||||
docker build -t danielberteaud/elasticsearch:8.13.2-1 -t danielberteaud/elasticsearch:8 -t danielberteaud/elasticsearch8:latest --build-arg=ES_VERSION=8.13.2 output/images/elasticsearch &&\
|
||||
docker push danielberteaud/elasticsearch:8.13.2-1 &&\
|
||||
docker push danielberteaud/elasticsearch:8 &&\
|
||||
docker push danielberteaud/elasticsearch8:latest &&\
|
||||
echo "danielberteaud/elasticsearch:8.13.1-1 pushed to remote repo"
|
||||
echo "danielberteaud/elasticsearch:8.13.2-1 pushed to remote repo"
|
||||
else
|
||||
echo "Image danielberteaud/elasticsearch:8.13.1-1 already available"
|
||||
echo "Image danielberteaud/elasticsearch:8.13.2-1 already available"
|
||||
fi
|
||||
IMAGE_ELASTICSEARCH8_AVAILABLE=1
|
||||
}
|
||||
|
@ -243,25 +243,6 @@ function build_pgbouncer {
|
|||
fi
|
||||
IMAGE_PGBOUNCER_AVAILABLE=1
|
||||
}
|
||||
function build_pgcat {
|
||||
if [ "${IMAGE_PGCAT_AVAILABLE:-0}" = "1" ]; then
|
||||
echo "Image danielberteaud/pgcat:1.1.1-1 already available"
|
||||
return
|
||||
fi
|
||||
# Image pgcat depends on alpine
|
||||
build_alpine
|
||||
if ! docker manifest inspect danielberteaud/pgcat:1.1.1-1 > /dev/null 2>&1; then
|
||||
echo "Building pgcat:1.1.1-1"
|
||||
export BUILDKIT_PROGRESS=plain
|
||||
docker build -t danielberteaud/pgcat:1.1.1-1 -t danielberteaud/pgcat:latest output/images/pgcat &&\
|
||||
docker push danielberteaud/pgcat:1.1.1-1 &&\
|
||||
docker push danielberteaud/pgcat:latest &&\
|
||||
echo "danielberteaud/pgcat:1.1.1-1 pushed to remote repo"
|
||||
else
|
||||
echo "Image danielberteaud/pgcat:1.1.1-1 already available"
|
||||
fi
|
||||
IMAGE_PGCAT_AVAILABLE=1
|
||||
}
|
||||
function build_php82 {
|
||||
if [ "${IMAGE_PHP82_AVAILABLE:-0}" = "1" ]; then
|
||||
echo "Image danielberteaud/php:82.24.4-1 already available"
|
||||
|
@ -410,7 +391,6 @@ build_mariadb
|
|||
build_mariadb_client
|
||||
build_mongo50
|
||||
build_pgbouncer
|
||||
build_pgcat
|
||||
build_php82
|
||||
build_php83
|
||||
build_postgres15
|
||||
|
|
|
@ -138,7 +138,7 @@ docker:
|
|||
elasticsearch8:
|
||||
image: elasticsearch:[[ .docker.base_images.elasticsearch8.build_args.ES_VERSION ]]-1
|
||||
build_args:
|
||||
ES_VERSION: 8.13.1
|
||||
ES_VERSION: 8.13.2
|
||||
tags:
|
||||
- elasticsearch:8
|
||||
- elasticsearch8:latest
|
||||
|
|
Loading…
Reference in New Issue