File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434
3535 - name : Test route
3636 run : |
37- grep -C 3 '\[error\]' compose/apisix_log/error.log && exit 1
37+ # error.log is symlinked to stderr, so check the container logs
38+ if docker logs compose-apisix-1 2>&1 | grep -C 3 '\[error\]'; then
39+ echo "found errors in apisix startup logs"
40+ exit 1
41+ fi
3842
3943 curl http://127.0.0.1:9180/apisix/admin/routes/1 \
4044 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN set -ex; \
3535 ;; \
3636 esac; \
3737 apt update \
38- && apt install -y apisix=${APISIX_VERSION}-0 \
38+ && apt install -y apisix=${APISIX_VERSION}-0 libxml2 libxslt1.1 \
3939 && apt-get purge -y --auto-remove \
4040 && rm -f /usr/local/openresty/bin/etcdctl \
4141 && openresty -V \
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ COPY ./yum.repos.d/apache-apisix.repo /etc/yum.repos.d/apache-apisix.repo
2323COPY ./yum.repos.d/openresty.repo /etc/yum.repos.d/openresty.repo
2424
2525RUN yum update -y \
26- && yum install -y apisix-${APISIX_VERSION} wget\
26+ && yum install -y apisix-${APISIX_VERSION} wget libxml2 libxslt \
2727 && yum clean all \
2828 && sed -i 's/PASS_MAX_DAYS\t 99999/PASS_MAX_DAYS\t 60/g' /etc/login.defs
2929
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN set -ex; \
3535 ;; \
3636 esac; \
3737 apt update \
38- && apt install -y apisix=${APISIX_VERSION}-0 \
38+ && apt install -y apisix=${APISIX_VERSION}-0 libxml2 libxslt1.1 \
3939 && apt-get purge -y --auto-remove \
4040 && rm -f /usr/local/openresty/bin/etcdctl \
4141 && openresty -V \
You can’t perform that action at this time.
0 commit comments