Skip to content

Commit

Permalink
feat: 更新 v3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Oct 20, 2023
1 parent 8f1ec64 commit 2c841ae
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ vi .env
```
```vim
# 版本号可以自己根据项目的版本修改
VERSION=v3.7.2
VERSION=v3.8.0
# 构建参数, 支持 amd64/arm64/loong64
TARGETARCH=amd64
Expand Down
4 changes: 2 additions & 2 deletions allinone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core \

WORKDIR /opt

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=$VERSION

RUN set -ex \
Expand Down Expand Up @@ -335,7 +335,7 @@ COPY --from=build-core /opt/py3 /opt/py3
COPY --from=get-core /opt/jumpserver/release/jumpserver /opt/jumpserver
COPY --from=build-tinker /opt/download /opt/download

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}
ENV PATH=/opt/py3/bin:$PATH

Expand Down
10 changes: 5 additions & 5 deletions allinone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ docker run --name jms_all --rm \
-e REDIS_HOST=192.168.x.x \
-e REDIS_PORT=6379 \
-e REDIS_PASSWORD=weakPassword \
jumpserver/jms_all:v3.7.2 init_db # 确定无报错
jumpserver/jms_all:v3.8.0 init_db # 确定无报错
```

**启动 JumpServer**
Expand All @@ -113,7 +113,7 @@ docker run --name jms_all -d \
-e REDIS_PORT=6379 \
-e REDIS_PASSWORD=weakPassword \
--privileged=true \
jumpserver/jms_all:v3.7.2
jumpserver/jms_all:v3.8.0
```

**升级**
Expand All @@ -129,7 +129,7 @@ mysqldump -h$DB_HOST -p$DB_PORT -u$DB_USER -p$DB_PASSWORD $DB_NAME > /opt/jumpse
# 例: mysqldump -h192.168.100.11 -p3306 -ujumpserver -pnu4x599Wq7u0Bn8EABh3J91G jumpserver > /opt/jumpserver-v2.12.0.sql

# 拉取新版本镜像
docker pull jumpserver/jms_all:v3.7.2
docker pull jumpserver/jms_all:v3.8.0

# 删掉旧版本容器
docker rm jms_all
Expand All @@ -150,7 +150,7 @@ docker run --name jms_all --rm \
-e REDIS_HOST=192.168.x.x \ # 自行修改成你的旧版本 Redis 服务器
-e REDIS_PORT=6379 \
-e REDIS_PASSWORD=****** \
jumpserver/jms_all:v3.7.2 upgrade # 确定无报错
jumpserver/jms_all:v3.8.0 upgrade # 确定无报错

# 启动新版本
docker run --name jms_all -d \
Expand All @@ -172,4 +172,4 @@ docker run --name jms_all -d \
-e REDIS_PORT=6379 \
-e REDIS_PASSWORD=****** \
--privileged=true \
jumpserver/jms_all:v3.7.2
jumpserver/jms_all:v3.8.0
2 changes: 1 addition & 1 deletion chen/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN set -ex \

WORKDIR /opt/chen

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion config_example.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 版本号可以自己根据项目的版本修改
VERSION=v3.7.2
VERSION=v3.8.0

# 构建参数, 支持 amd64/arm64/loong64
TARGETARCH=amd64
Expand Down
4 changes: 2 additions & 2 deletions core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core \

WORKDIR /opt

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=$VERSION

RUN set -ex \
Expand Down Expand Up @@ -163,7 +163,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core \
COPY --from=build-core /opt/py3 /opt/py3
COPY --from=get-core /opt/jumpserver/release/jumpserver /opt/jumpserver

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

WORKDIR /opt/jumpserver
Expand Down
2 changes: 1 addition & 1 deletion kael/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN set -ex \

WORKDIR /opt/kael

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion koko/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN set -ex \

WORKDIR /opt/koko

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion lion/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex \

WORKDIR /opt/lion

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion magnus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN set -ex \

WORKDIR /opt/magnus

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN set -ex \

WORKDIR /opt

ARG VERSION=v3.7.2
ARG VERSION=v3.8.0
ENV VERSION=${VERSION}

RUN set -ex \
Expand Down

0 comments on commit 2c841ae

Please sign in to comment.