更新kiwix-serve至3.7.0版本

This commit is contained in:
huty 2024-04-22 13:23:00 +00:00 committed by cloud-init created default user
parent 1a4f7aefd0
commit 2af372770f
6 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# 配置参数(指定基础镜像版本) # 配置参数(指定基础镜像版本)
ARG BASE_TAG=3.18.5 ARG BASE_TAG=3.19.1
# 基于 AlpineLinux 构建 # 基于 AlpineLinux 构建
FROM alpine:$BASE_TAG FROM alpine:$BASE_TAG
@ -28,7 +28,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
chown -R $GROUP_NAME.$USER_NAME $USER_HOME chown -R $GROUP_NAME.$USER_NAME $USER_HOME
# 配置环境变量 # 配置环境变量
ARG KIWIX_SERVE_VERSION=3.6.0 ARG KIWIX_SERVE_VERSION=3.7.0
ENV KIWIX_HOME=/opt/kiwix-serve/$KIWIX_SERVE_VERSION \ ENV KIWIX_HOME=/opt/kiwix-serve/$KIWIX_SERVE_VERSION \
KIWIX_ZIM_FILE_DIR=/data KIWIX_ZIM_FILE_DIR=/data

View File

@ -2,8 +2,8 @@ version: "3.9"
services: services:
kiwix-serve: kiwix-serve:
# image: hty1024/kiwix-serve:3.6.0 # image: hty1024/kiwix-serve:3.7.0
image: hty1024/kiwix-serve:3.6.0-alpine image: hty1024/kiwix-serve:3.7.0-alpine
container_name: kiwix-serve container_name: kiwix-serve
restart: always restart: always
volumes: volumes:

View File

@ -30,7 +30,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
chown -R $GROUP_NAME.$USER_NAME $USER_HOME chown -R $GROUP_NAME.$USER_NAME $USER_HOME
# 配置环境变量 # 配置环境变量
ARG KIWIX_SERVE_VERSION=3.6.0 ARG KIWIX_SERVE_VERSION=3.7.0
ENV KIWIX_HOME=/opt/kiwix-serve/$KIWIX_SERVE_VERSION \ ENV KIWIX_HOME=/opt/kiwix-serve/$KIWIX_SERVE_VERSION \
KIWIX_ZIM_FILE_DIR=/data KIWIX_ZIM_FILE_DIR=/data