This is an automated email from the ASF dual-hosted git repository. tzssangglass pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/apisix-java-plugin-runner.git
The following commit(s) were added to refs/heads/main by this push: new 65c6fcd chore: adjust the matching APISIX version to 2.12.0 (#124) 65c6fcd is described below commit 65c6fcda68e050fb79e6d935127d5ae7eb65b549 Author: tzssangglass <tzssanggl...@gmail.com> AuthorDate: Thu Jan 27 14:28:11 2022 +0800 chore: adjust the matching APISIX version to 2.12.0 (#124) --- README.md | 2 +- docs/en/latest/development.md | 2 +- docs/zh/quick-start.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c006b7d..0e18ca2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Version Matrix | apisix-java-plugin-runner | APISIX | |---------------------------|-----------------------------------------------------------------------------| | 0.1.0 | >= [2.7.0](https://github.com/apache/apisix/blob/master/CHANGELOG.md#270) | -| 0.2.0 | >= [2.10.2](https://github.com/apache/apisix/blob/master/CHANGELOG.md#2102) | +| 0.2.0 | >= [2.12.0](https://github.com/apache/apisix/blob/master/CHANGELOG.md#2102) | How it Works ------------- diff --git a/docs/en/latest/development.md b/docs/en/latest/development.md index db007a7..339f58f 100644 --- a/docs/en/latest/development.md +++ b/docs/en/latest/development.md @@ -29,7 +29,7 @@ Prerequisites ------------- * JDK 11 -* APISIX 2.10.x +* APISIX 2.12.0 * Clone the [apisix-java-plugin-runner](https://github.com/apache/apisix-java-plugin-runner) project. * Refer to [Debug](how-it-works.md#debug) to build the debug environment. diff --git a/docs/zh/quick-start.md b/docs/zh/quick-start.md index 15d19a7..77bfe58 100644 --- a/docs/zh/quick-start.md +++ b/docs/zh/quick-start.md @@ -3,7 +3,7 @@ ### 准备工作 * JDK 11 -* APISIX 2.10.0 +* APISIX 2.12.0 * Clone the [apisix-java-plugin-runner](https://github.com/apache/apisix-java-plugin-runner) project。 ### 开发扩展插件过滤器 @@ -54,7 +54,7 @@ apache-apisix-java-plugin-runner-0.1.0-bin.tar.gz 在`dist`目录添加`Dockerfile`文件 ```dockerfile -FROM apache/apisix:2.10.0-alpine +FROM apache/apisix:${version}-alpine RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories && apk add --no-cache openjdk8-jre @@ -66,7 +66,7 @@ ADD apache-apisix-java-plugin-runner-0.1.0-bin.tar.gz /usr/local/ ```shell cd dist - docker build -t apache/apisix:2.10.0-alpine-with-java-plugin . + docker build -t apache/apisix:${version}-alpine-with-java-plugin . ``` 最后在 APISIX 的 `config.yaml` 文件中增加配置,如下 @@ -76,7 +76,7 @@ ext-plugin: cmd: ['java', '-jar', '-Xmx4g', '-Xms4g', '/path/to/apisix-runner-bin/apisix-java-plugin-runner.jar'] ``` -构建完成的 `apache/apisix:2.10.0-alpine-with-java-plugin` 镜像内即包含 APISIX 与 apisix-java-plugun-runner。 +构建完成的 `apache/apisix:${version}-alpine-with-java-plugin` 镜像内即包含 APISIX 与 apisix-java-plugun-runner。 ### 使用插件