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