We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bea3d88 commit 9bfd926Copy full SHA for 9bfd926
centos/Dockerfile
@@ -3,10 +3,8 @@ FROM centos:7
3
ARG APISIX_VERSION=2.10.1
4
LABEL apisix_version="${APISIX_VERSION}"
5
6
-RUN yum -y install yum-utils\
7
- && yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo \
8
- && yum install -y pcre openresty which tzdata openldap-devel \
9
- && yum install -y https://github.com/apache/apisix/releases/download/$APISIX_VERSION/apisix-$APISIX_VERSION-0.el7.x86_64.rpm \
+RUN yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm \
+ && yum install -y apisix-$APISIX_VERSION \
10
&& yum clean all \
11
&& sed -i 's/PASS_MAX_DAYS\t99999/PASS_MAX_DAYS\t60/g' /etc/login.defs
12
0 commit comments