Compare commits

...

2 Commits

Author SHA1 Message Date
wandoubaba
70d5c7341c 更新 2025-04-11 10:29:49 +08:00
wandoubaba
e46af6c410 manual增加elasticsearch,修改auth的images.yaml 2025-01-22 16:42:12 +08:00
7 changed files with 1184 additions and 961 deletions

2
auto/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
Dockerfile.*
!.gitignore

BIN
auto/dockerporter Executable file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:{$VERSION}
RUN yes | bin/elasticsearch-plugin install https://release.infinilabs.com/analysis-ik/stable/elasticsearch-analysis-ik-{$VERSION}.zip

38
manual/elasticsearch/buildx.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/bash
# 定义日志文件
LOG_FILE="buildx.log"
# 确保版本文件最后有换行符
if [ -n "$(tail -c 1 versions)" ]; then
echo "" >> versions
fi
# 读取版本文件并遍历每一行
while IFS= read -r VERSION; do
# 跳过空行
[ -z "$VERSION" ] && continue
# 获取当前日期时间
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
# 记录开始构建的日志
echo "[$TIMESTAMP] 开始构建并上传 quay.io/wandoubaba517/elasticsearch:${VERSION}-ik 镜像" >> "$LOG_FILE"
# 替换模板中的版本号并生成 Dockerfile
sed "s/{\$VERSION}/$VERSION/g" Dockerfile.template > "Dockerfile_${VERSION}-ik"
# 执行构建命令
if docker buildx build --platform linux/amd64,linux/arm64 --push -t "quay.io/wandoubaba517/elasticsearch:${VERSION}-ik" -f "Dockerfile_${VERSION}-ik" .; then
STATUS="success"
else
STATUS="failed"
fi
# 删除生成的 Dockerfile
rm "Dockerfile_${VERSION}-ik"
# 记录完成构建的日志
echo "[$TIMESTAMP] 完成构建并上传 quay.io/wandoubaba517/elasticsearch:${VERSION}-ik 镜像 $STATUS" >> "$LOG_FILE"
done < versions

View File

@ -0,0 +1,3 @@
8.17.1
8.5.2
7.17.18

View File

@ -0,0 +1,233 @@
8.17.1
8.17.0
8.16.3
8.16.2
8.16.1
8.16.0
8.15.5
8.15.4
8.15.3
8.15.2
8.15.1
8.15.0
8.14.3
8.14.2
8.14.1
8.14.0
8.13.4
8.13.3
8.13.2
8.13.1
8.13.0
8.12.2
8.12.1
8.12.0
8.11.4
8.11.3
8.11.2
8.11.1
8.11.0
8.10.4
8.10.3
8.10.2
8.10.1
8.10.0
8.9.2
8.9.1
8.9.0
8.8.2
8.8.1
8.7.1
8.7.0
8.6.2
8.6.1
8.6.0
8.5.3
8.5.2
8.5.1
8.5.0
8.4.3
8.4.2
8.4.1
8.4.0
8.3.3
8.3.2
8.3.1
8.3.0
8.2.3
8.2.2
8.2.1
8.2.0
8.1.3
8.1.2
8.1.1
8.1.0
8.0.1
8.0.0
7.17.27
7.17.26
7.17.25
7.17.24
7.17.23
7.17.22
7.17.21
7.17.20
7.17.19
7.17.18
7.17.17
7.17.16
7.17.15
7.17.14
7.17.13
7.17.12
7.17.11
7.17.10
7.17.9
7.17.8
7.17.7
7.17.6
7.17.5
7.17.4
7.17.3
7.17.2
7.17.1
7.17.0
7.16.3
7.16.2
7.16.1
7.16.0
7.15.2
7.15.1
7.15.0
7.14.2
7.14.1
7.14.0
7.13.4
7.13.3
7.13.2
7.13.1
7.13.0
7.12.1
7.12.0
7.11.2
7.11.1
7.10.2
7.10.1
7.10.0
7.9.3
7.9.2
7.9.1
7.9.0
7.8.1
7.8.0
7.7.1
7.7.0
7.6.2
7.6.1
7.6.0
7.5.2
7.5.1
7.5.0
7.4.2
7.4.1
7.4.0
7.3.2
7.3.1
7.3.0
7.2.1
7.2.0
7.1.1
7.1.0
7.0.1
7.0.0
6.8.23
6.8.22
6.8.21
6.8.20
6.8.19
6.8.18
6.8.17
6.8.16
6.8.15
6.8.14
6.8.13
6.8.12
6.8.11
6.8.10
6.8.9
6.8.8
6.8.7
6.8.6
6.8.5
6.8.4
6.8.3
6.8.2
6.8.1
6.8.0
6.7.2
6.7.1
6.7.0
6.6.2
6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