fix: install libxml2 and libxslt for saml-auth plugin (#627)
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 @@
 
       - 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 @@
         ;; \
     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/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 @@
         ;; \
     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 \