This is an automated email from the ASF dual-hosted git repository.
juzhiyuan 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 cd7bfd0 bugfix: update centos docker to 2.2. (#118)
cd7bfd0 is described below
commit cd7bfd01fa0a9b1432d2d85aefcef6cc9bd54d09
Author: Wen Ming <[email protected]>
AuthorDate: Wed Jan 13 18:24:02 2021 +0800
bugfix: update centos docker to 2.2. (#118)
---
centos/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/centos/Dockerfile b/centos/Dockerfile
index 81f76ca..8af56ef 100644
--- a/centos/Dockerfile
+++ b/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
\
&& yum clean all \
&& sed -i 's/PASS_MAX_DAYS\t99999/PASS_MAX_DAYS\t60/g' /etc/login.defs