membphis commented on a change in pull request #118:
URL: https://github.com/apache/apisix-docker/pull/118#discussion_r556417695
##########
File path: centos/Dockerfile
##########
@@ -1,12 +1,12 @@
FROM centos:7
-ARG APISIX_VERSION=1.2
+ARG APISIX_VERSION=2.2
LABEL apisix_version="${APISIX_VERSION}"
RUN yum -y install yum-utils\
&& yum-config-manager --add-repo
https://openresty.org/package/centos/openresty.repo \
&& yum install -y openresty \
- && yum install -y
https://github.com/apache/apisix/releases/download/$APISIX_VERSION/apisix-$APISIX_VERSION-0.el7.noarch.rpm
\
+ && yum install -y
https://github.com/apache/apisix/releases/download/$APISIX_VERSION/apisix-$APISIX_VERSION-0.x86_64.rpm
\
Review comment:
yes, that is a better way
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]