Skip to content
Closed
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
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ jobs:
matrix:
adapter:
[
MongoDB,
MariaDB,
MySQL,
Postgres,
SQLite,
Mirror,
Pool,
SharedTables/MongoDB,
SharedTables/MariaDB,
SharedTables/MySQL,
SharedTables/Postgres,
Expand Down
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ FROM php:8.3.19-cli-alpine3.21 AS compile

ENV PHP_REDIS_VERSION="6.0.2" \
PHP_SWOOLE_VERSION="v5.1.7" \
PHP_XDEBUG_VERSION="3.4.2" \
PHP_MONGODB_VERSION="2.1.1"
PHP_XDEBUG_VERSION="3.4.2"

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apk update && apk add --no-cache \
RUN \
apk update \
&& apk add --no-cache \
postgresql-libs \
postgresql-dev \
make \
Expand All @@ -33,11 +35,9 @@ RUN apk update && apk add --no-cache \
linux-headers \
docker-cli \
docker-cli-compose \
&& pecl install mongodb-$PHP_MONGODB_VERSION \
&& docker-php-ext-enable mongodb \
&& docker-php-ext-install opcache pgsql pdo_mysql pdo_pgsql \
&& apk del postgresql-dev \
&& rm -rf /var/cache/apk/*
&& docker-php-ext-install opcache pgsql pdo_mysql pdo_pgsql \
&& apk del postgresql-dev \
&& rm -rf /var/cache/apk/*

# Redis Extension
FROM compile AS redis
Expand Down
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,24 @@
"require": {
"php": ">=8.1",
"ext-pdo": "*",
"ext-mongodb": "*",
"ext-mbstring": "*",
"utopia-php/framework": "0.33.*",
"utopia-php/cache": "0.13.*",
"utopia-php/pools": "0.8.*",
"utopia-php/mongo": "0.10.*"
"utopia-php/pools": "0.8.*"
},
"require-dev": {
"fakerphp/faker": "1.23.*",
"phpunit/phpunit": "9.*",
"pcov/clobber": "2.*",
"swoole/ide-helper": "5.1.3",
"utopia-php/cli": "0.14.*",
"laravel/pint": "*",
"laravel/pint": "1.*",
"phpstan/phpstan": "1.*",
"rregeer/phpunit-coverage-check": "0.3.*"
},
"suggests": {
"ext-redis": "Needed to support Redis Cache Adapter",
"ext-pdo": "Needed to support MariaDB, MySQL or SQLite Database Adapter",
"mongodb/mongodb": "Needed to support MongoDB Database Adapter"

"ext-pdo": "Needed to support MariaDB, MySQL or SQLite Database Adapter"
},
"config": {
"allow-plugins": {
Expand Down
Loading