mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
chore!: require PHP 8.4
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2ab5044011
commit
8618bd1efe
2 files changed
+1
-45
No files matched your search
@@ -1,44 +0,0 @@
|
||||
FROM composer:2.7 as step0
|
||||
|
||||
ARG TESTING=false
|
||||
ENV TESTING=$TESTING
|
||||
|
||||
WORKDIR /usr/local/src/
|
||||
|
||||
COPY composer.lock /usr/local/src/
|
||||
COPY composer.json /usr/local/src/
|
||||
|
||||
RUN composer update --ignore-platform-reqs --optimize-autoloader \
|
||||
--no-plugins --no-scripts --prefer-dist
|
||||
|
||||
FROM appwrite/utopia-base:php-8.3-2.0.0 as final
|
||||
|
||||
ENV PHP_MEMCACHED_VERSION=v3.4.0
|
||||
|
||||
LABEL maintainer="team@appwrite.io"
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN \
|
||||
apk update \
|
||||
&& apk add --no-cache make automake autoconf g++ gcc zlib-dev libmemcached-dev docker-cli \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
RUN \
|
||||
# Memcached Extension
|
||||
git clone --branch $PHP_MEMCACHED_VERSION https://github.com/php-memcached-dev/php-memcached.git && \
|
||||
cd php-memcached && \
|
||||
phpize && \
|
||||
./configure && \
|
||||
make && make install && \
|
||||
cd ..
|
||||
|
||||
RUN echo extension=memcached.so >> /usr/local/etc/php/conf.d/memcached.ini
|
||||
|
||||
WORKDIR /usr/src/code
|
||||
|
||||
COPY ./ /usr/src/code
|
||||
|
||||
COPY --from=step0 /usr/local/src/vendor /usr/src/code/vendor
|
||||
|
||||
CMD [ "tail", "-f", "/dev/null" ]
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
"psr-4": {"Utopia\\Tests\\": "tests/Cache"}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.3",
|
||||
"php": ">=8.4",
|
||||
"ext-json": "*",
|
||||
"ext-memcached": "*",
|
||||
"ext-redis": "*",
|
||||
|
||||
Reference in new issue
Block a user