This is an automated email from the ASF dual-hosted git repository.

shreemaan-abhishek 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 b08d48f  fix: install libxml2 and libxslt for saml-auth plugin (#627)
b08d48f is described below

commit b08d48f8db99472fed8051481dd921ef13e79cd9
Author: Shreemaan Abhishek <[email protected]>
AuthorDate: Tue Jun 30 18:46:34 2026 +0800

    fix: install libxml2 and libxslt for saml-auth plugin (#627)
---
 .github/workflows/apisix_push_docker_hub.yaml | 6 +++++-
 debian/Dockerfile                             | 2 +-
 redhat/Dockerfile                             | 2 +-
 ubuntu/Dockerfile                             | 2 +-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/apisix_push_docker_hub.yaml 
b/.github/workflows/apisix_push_docker_hub.yaml
index 198bea6..2f52629 100644
--- a/.github/workflows/apisix_push_docker_hub.yaml
+++ b/.github/workflows/apisix_push_docker_hub.yaml
@@ -34,7 +34,11 @@ jobs:
 
       - name: Test route
         run: |
-          grep -C 3 '\[error\]' compose/apisix_log/error.log && exit 1
+          # error.log is symlinked to stderr, so check the container logs
+          if docker logs compose-apisix-1 2>&1 | grep -C 3 '\[error\]'; then
+            echo "found errors in apisix startup logs"
+            exit 1
+          fi
 
           curl http://127.0.0.1:9180/apisix/admin/routes/1 \
           -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
diff --git a/debian/Dockerfile b/debian/Dockerfile
index 8bb2b1b..01305d2 100644
--- a/debian/Dockerfile
+++ b/debian/Dockerfile
@@ -35,7 +35,7 @@ RUN set -ex; \
         ;; \
     esac; \
     apt update \
-    && apt install -y apisix=${APISIX_VERSION}-0 \
+    && apt install -y apisix=${APISIX_VERSION}-0 libxml2 libxslt1.1 \
     && apt-get purge -y --auto-remove \
     && rm -f /usr/local/openresty/bin/etcdctl \
     && openresty -V \
diff --git a/redhat/Dockerfile b/redhat/Dockerfile
index 0af3bd8..930007e 100644
--- a/redhat/Dockerfile
+++ b/redhat/Dockerfile
@@ -23,7 +23,7 @@ COPY ./yum.repos.d/apache-apisix.repo 
/etc/yum.repos.d/apache-apisix.repo
 COPY ./yum.repos.d/openresty.repo /etc/yum.repos.d/openresty.repo
 
 RUN yum update -y \
-       && yum install -y apisix-${APISIX_VERSION} wget\
+       && yum install -y apisix-${APISIX_VERSION} wget libxml2 libxslt\
        && yum clean all \
        && sed -i 's/PASS_MAX_DAYS\t99999/PASS_MAX_DAYS\t60/g' /etc/login.defs
 
diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile
index af3854f..3d05832 100644
--- a/ubuntu/Dockerfile
+++ b/ubuntu/Dockerfile
@@ -35,7 +35,7 @@ RUN set -ex; \
         ;; \
     esac; \
     apt update \
-    && apt install -y apisix=${APISIX_VERSION}-0 \
+    && apt install -y apisix=${APISIX_VERSION}-0 libxml2 libxslt1.1 \
     && apt-get purge -y --auto-remove \
     && rm -f /usr/local/openresty/bin/etcdctl \
     && openresty -V \

Reply via email to