You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tz...@apache.org on 2022/09/02 06:20:54 UTC
[apisix-docker] branch master updated: chore: install apisix via package name instead of url (#344)
This is an automated email from the ASF dual-hosted git repository.
tzssangglass 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 52f7a0c chore: install apisix via package name instead of url (#344)
52f7a0c is described below
commit 52f7a0c135422bad1b58c0691accb61d751da0ee
Author: soulbird <zh...@outlook.com>
AuthorDate: Fri Sep 2 14:20:49 2022 +0800
chore: install apisix via package name instead of url (#344)
Co-authored-by: soulbird <zh...@gmail.com>
---
centos/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/centos/Dockerfile b/centos/Dockerfile
index c48184c..9825227 100644
--- a/centos/Dockerfile
+++ b/centos/Dockerfile
@@ -21,7 +21,7 @@ ARG APISIX_VERSION=2.15.0
LABEL apisix_version="${APISIX_VERSION}"
RUN yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm \
- && yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-$APISIX_VERSION-0.el7.x86_64.rpm \
+ && yum install -y apisix-${APISIX_VERSION} \
&& yum clean all \
&& sed -i 's/PASS_MAX_DAYS\t99999/PASS_MAX_DAYS\t60/g' /etc/login.defs