Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions packages/dns/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
FROM composer:2.7 AS composer

ARG TESTING=false
ENV TESTING=$TESTING

WORKDIR /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/base:0.11.3 AS final

LABEL maintainer="team@appwrite.io"
Expand All @@ -22,7 +10,9 @@ RUN echo "opcache.enable_cli=1" >> $PHP_INI_DIR/php.ini

RUN echo "memory_limit=1024M" >> $PHP_INI_DIR/php.ini

COPY --from=composer /usr/local/src/vendor /usr/src/code/vendor
# The test runner installs dependencies before building this fixture. Reuse
# that graph so linked sibling tests do not reinstall older published packages.
COPY ./vendor /usr/src/code/vendor

# Add Source Code
COPY ./tests /usr/src/code/tests
Expand Down
2 changes: 1 addition & 1 deletion packages/dns/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"php": ">=8.5",
"ext-sockets": "*",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "^0.6",
"utopia-php/validators": "^1.0",
"utopia-php/domains": "^4.0.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion packages/domains/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"psr/http-message": "^2.0",
"utopia-php/client": "^0.4.3",
"utopia-php/psr7": "^0.2.2",
"utopia-php/validators": "^0.6",
"utopia-php/validators": "^1.0",
"utopia-php/cache": "^4.0 || ^5.0"
},
"minimum-stability": "stable",
Expand Down
2 changes: 1 addition & 1 deletion packages/http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"utopia-php/compression": "^0.1",
"utopia-php/psr7": "^0.2.0",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "^0.6 || ^1.0",
"utopia-php/validators": "^1.0",
"utopia-php/system": "^0.10 || ^0.11"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/queue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"utopia-php/servers": "^0.4",
"utopia-php/pools": "^2.1",
"utopia-php/telemetry": "^0.4",
"utopia-php/validators": "^0.6 || ^1.0"
"utopia-php/validators": "^1.0"
},
"require-dev": {
"ext-redis": "*",
Expand Down
Loading