This is an automated email from the ASF dual-hosted git repository.
liuxiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git
The following commit(s) were added to refs/heads/master by this push:
new 96d7c43 feat: bump APISIX to 2.10.0 (#230)
96d7c43 is described below
commit 96d7c43d525f18bc58d974fd4fd8fcaf325a5021
Author: bzp2010 <[email protected]>
AuthorDate: Fri Oct 1 05:50:22 2021 -0500
feat: bump APISIX to 2.10.0 (#230)
---
.github/workflows/apisix-docker-test.yaml | 2 +-
Makefile | 2 +-
alpine/Dockerfile | 4 ++--
centos/Dockerfile | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/apisix-docker-test.yaml
b/.github/workflows/apisix-docker-test.yaml
index 9d24f16..02c8d06 100644
--- a/.github/workflows/apisix-docker-test.yaml
+++ b/.github/workflows/apisix-docker-test.yaml
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
env:
APISIX_PATH: "./apisix-local"
- APISIX_DOCKER_TAG: 2.9-${{ matrix.platform }}
+ APISIX_DOCKER_TAG: 2.10.0-${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
diff --git a/Makefile b/Makefile
index 3f91f33..c4404f9 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
# APISIX ARGS
-APISIX_VERSION ?= 2.9
+APISIX_VERSION ?= 2.10.0
IMAGE_NAME = apache/apisix
IMAGE_TAR_NAME = apache_apisix
diff --git a/alpine/Dockerfile b/alpine/Dockerfile
index 97a853c..a41419f 100644
--- a/alpine/Dockerfile
+++ b/alpine/Dockerfile
@@ -2,7 +2,7 @@ ARG ENABLE_PROXY=false
FROM openresty/openresty:1.19.3.1-alpine-fat AS production-stage
-ARG APISIX_VERSION=2.9
+ARG APISIX_VERSION=2.10.0
LABEL apisix_version="${APISIX_VERSION}"
ARG ENABLE_PROXY
@@ -22,7 +22,7 @@ RUN set -x \
&& luarocks config variables.OPENSSL_INCDIR
/usr/local/openresty/openssl/include \
&& luarocks install
https://github.com/apache/apisix/raw/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec
--tree=/usr/local/apisix/deps \
&& cp -v
/usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix
/usr/bin/ \
- && (if [ "$APISIX_VERSION" = "master" ] || [ "$APISIX_VERSION" \> "2.2" ];
then echo 'use shell ';else bin='#!
/usr/local/openresty/luajit/bin/luajit\npackage.path =
"/usr/local/apisix/?.lua;" .. package.path'; sed -i "1s@.*@$bin@"
/usr/bin/apisix ; fi;) \
+ && (function ver_lt { [ "$1" = "$2" ] && return 1 || [ "$1" = "`echo -e
"$1\n$2" | sort -V | head -n1`" ]; }; if [ "$APISIX_VERSION" = "master" ] ||
ver_lt 2.2.0 $APISIX_VERSION; then echo 'use shell ';else bin='#!
/usr/local/openresty/luajit/bin/luajit\npackage.path =
"/usr/local/apisix/?.lua;" .. package.path'; sed -i "1s@.*@$bin@"
/usr/bin/apisix ; fi;) \
&& mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix \
&& apk del .builddeps build-base make unzip
diff --git a/centos/Dockerfile b/centos/Dockerfile
index c2ec5d0..e26f8b7 100644
--- a/centos/Dockerfile
+++ b/centos/Dockerfile
@@ -1,6 +1,6 @@
FROM centos:7
-ARG APISIX_VERSION=2.9
+ARG APISIX_VERSION=2.10.0
LABEL apisix_version="${APISIX_VERSION}"
RUN yum -y install yum-utils\