[pecl-search_engine-solr] master: update docker images, solr v9
| From: | omars | Date: | Thu, 25 Jun 2026 04:52:00 +0000 |
| Subject: | [pecl-search_engine-solr] master: update docker images, solr v9 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-28623@lists.php.net to get a copy of this message | ||
Author: omars (omars44)
Date: 2025-05-20T18:18:37+03:00
Commit: https://github.com/php/pecl-search_engine-solr/commit/8468338c50962c6a4bb0a04a823a008bfdc2fef7
Raw diff: https://github.com/php/pecl-search_engine-solr/commit/8468338c50962c6a4bb0a04a823a008bfdc2fef7.diff
update docker images, solr v9
Changed paths:
M Dockerfile
M tests/docker/Dockerfile
Diff:
diff --git a/Dockerfile b/Dockerfile
index a54c6162..c5bfa227 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,11 @@
-FROM php:8.4-cli
+FROM php:8.4-cli-alpine3.20
-RUN apt update && apt install libxml2-dev libcurl4-gnutls-dev --yes
+RUN apk add --no-cache libxml2-dev libcurl-dev \
+ && docker-php-ext-install xml curl \
+ && rm -rf /var/cache/apk/*
-RUN apt install vim --yes
+RUN apk add --no-cache vim \
+ && rm -rf /var/cache/apk/*
COPY .docker/entrypoint.sh /opt/
@@ -12,4 +15,4 @@ COPY ./ /opt/solr2
WORKDIR /opt/solr2
-ENTRYPOINT ["sh","/opt/entrypoint.sh"]
+ENTRYPOINT ["sh","/opt/entrypoint.sh"]
\ No newline at end of file
diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index d2295aa4..6d06d7ea 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM solr:6.3
+FROM bitnami/solr:9.8.1
COPY collections collections