Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ docker run --name nacos-standalone-derby-v2.5.1 \
* Tips: You can change [the version of the Nacos image](https://hub.docker.com/r/nacos/nacos-server/tags) in the compose file from the following configuration. `example/.env`

```dotenv
NACOS_VERSION=v3.2.3
NACOS_VERSION=v3.2.4
```

For Mac user with Arm Chip (like M1/M2/M3 series) , you need to add `-slim` after version which support `arm` arch.

```dotenv
NACOS_VERSION=v3.2.3-slim
NACOS_VERSION=v3.2.4-slim
```

Run the following command:
Expand Down
4 changes: 2 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ docker run --name nacos-standalone-derby-v2.5.1 \
* 提示: 你需要通过 `example/.env` 中的以下配置来更改 Compose 文件中 [Nacos 镜像版本](https://hub.docker.com/r/nacos/nacos-server/tags)。

```dotenv
NACOS_VERSION=v3.2.3
NACOS_VERSION=v3.2.4
```

对于使用 Arm 芯片(如 M1/M2/M3 系列)的 Mac 用户,需要在支持 `arm` arch 的版本后添加 `-slim`。

```dotenv
NACOS_VERSION=v3.2.3-slim
NACOS_VERSION=v3.2.4-slim
```

打开命令窗口执行:
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ENV JAVA_HOME="/opt/java/openjdk" \
JAVA="/opt/java/openjdk/bin/java"

ENV MODE="cluster" \

Check warning on line 37 in build/Dockerfile

View workflow job for this annotation

GitHub Actions / Smoke Test

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$CLASSPATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 37 in build/Dockerfile

View workflow job for this annotation

GitHub Actions / Build Image (standard, build/Dockerfile)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$CLASSPATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
PREFER_HOST_MODE="ip" \
BASE_DIR="/home/nacos" \
CLASSPATH=".:/home/nacos/conf:${CLASSPATH}" \
Expand All @@ -50,7 +50,7 @@
TOMCAT_ACCESSLOG_ENABLED="false" \
TIME_ZONE="Asia/Shanghai"

ARG NACOS_VERSION=3.2.3
ARG NACOS_VERSION=3.2.4
ARG HOT_FIX_FLAG=""
ARG SKILLS_DATA_URL="https://download.nacos.io/nacos-server-data/skills-data.zip"
ARG AGENTSPEC_DATA_URL="https://download.nacos.io/nacos-server-data/agentspec-data.zip"
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.Slim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ENV JAVA_HOME="/opt/java/openjdk" \
JAVA="/opt/java/openjdk/bin/java"

ENV MODE="cluster" \

Check warning on line 37 in build/Dockerfile.Slim

View workflow job for this annotation

GitHub Actions / Build Image (slim, build/Dockerfile.Slim)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$CLASSPATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
PREFER_HOST_MODE="ip" \
BASE_DIR="/home/nacos" \
CLASSPATH=".:/home/nacos/conf:${CLASSPATH}" \
Expand All @@ -50,7 +50,7 @@
TOMCAT_ACCESSLOG_ENABLED="false" \
TIME_ZONE="Asia/Shanghai"

ARG NACOS_VERSION=3.2.3
ARG NACOS_VERSION=3.2.4
ARG HOT_FIX_FLAG=""
ARG SKILLS_DATA_URL="https://download.nacos.io/nacos-server-data/skills-data.zip"
ARG AGENTSPEC_DATA_URL="https://download.nacos.io/nacos-server-data/agentspec-data.zip"
Expand Down
2 changes: 1 addition & 1 deletion example/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NACOS_VERSION=v3.2.3
NACOS_VERSION=v3.2.4
Loading