Skip to content

Commit a2906b2

Browse files
authored
feat: build apisix image with apisix-base (#245)
1 parent 9bfd926 commit a2906b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

centos/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM centos:7
22

3-
ARG APISIX_VERSION=2.10.1
3+
ARG APISIX_VERSION=2.10.1.1
44
LABEL apisix_version="${APISIX_VERSION}"
55

66
RUN yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm \
7-
&& yum install -y apisix-$APISIX_VERSION \
7+
&& yum install -y https://repos.apiseven.com/packages/centos/7/x86_64/apisix-$APISIX_VERSION-0.el7.x86_64.rpm \
88
&& yum clean all \
99
&& sed -i 's/PASS_MAX_DAYS\t99999/PASS_MAX_DAYS\t60/g' /etc/login.defs
1010

0 commit comments

Comments
 (0)