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
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
devices: [BackblazeTest, DOSpacesTest, LinodeTest, LocalTest, S3Test, WasabiTest]
devices: [BackblazeTest, DOSpacesTest, LinodeTest, LocalTest, AWSTest, WasabiTest]

steps:
- name: checkout
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM composer:2.0 as composer
FROM composer:2.0 AS composer

ARG TESTING=false
ENV TESTING=$TESTING
Expand All @@ -15,7 +15,7 @@ RUN composer update \
--no-scripts \
--prefer-dist

FROM php:8.0-cli-alpine as compile
FROM php:8.0-cli-alpine AS compile

ENV PHP_ZSTD_VERSION="master"
ENV PHP_BROTLI_VERSION="7ae4fcd8b81a65d7521c298cae49af386d1ea4e3"
Expand All @@ -42,7 +42,7 @@ RUN git clone --recursive --depth 1 --branch $PHP_ZSTD_VERSION https://github.co
&& make && make install

## Brotli Extension
FROM compile as brotli
FROM compile AS brotli
RUN git clone https://github.com/kjdev/php-ext-brotli.git \
&& cd php-ext-brotli \
&& git reset --hard $PHP_BROTLI_VERSION \
Expand All @@ -56,7 +56,7 @@ RUN git clone --recursive https://github.com/kjdev/php-ext-lz4.git \
&& cd php-ext-lz4 \
&& git reset --hard $PHP_LZ4_VERSION \
&& phpize \
&& ./configure --with-lz4-includedir=/usr \
&& ./configure --with-lz4-includedir=/usr \
&& make && make install

## Snappy Extension
Expand All @@ -69,7 +69,7 @@ RUN git clone --recursive https://github.com/kjdev/php-ext-snappy.git \
&& make && make install

## Xz Extension
FROM compile as xz
FROM compile AS xz
RUN wget https://tukaani.org/xz/xz-${PHP_XZ_VERSION}.tar.xz -O xz.tar.xz \
&& tar -xJf xz.tar.xz \
&& rm xz.tar.xz \
Expand All @@ -87,7 +87,7 @@ RUN git clone https://github.com/codemasher/php-ext-xz.git --branch ${PHP_EXT_XZ
&& ./configure \
&& make && make install

FROM compile as final
FROM compile AS final

LABEL maintainer="team@appwrite.io"

Expand Down
20 changes: 15 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,31 @@
"format": "./vendor/bin/pint"
},
"require": {
"php": ">=8.0",
"ext-fileinfo": "*",
"ext-zlib": "*",
"ext-zstd": "*",
"ext-xz": "*",
"ext-brotli": "*",
"ext-curl": "*",
"ext-lz4": "*",
"ext-simplexml": "*",
"ext-snappy": "*",
"php": ">=8.0",
"utopia-php/framework": "1.0.*",
"utopia-php/framework": "0.33.*",
"utopia-php/system": "0.9.*"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"vimeo/psalm": "4.0.1",
"phpunit/phpunit": "9.*",
"laravel/pint": "1.2.*"
},
"minimum-stability": "stable"
"minimum-stability": "stable",
"config": {
"platform": {
"php": "8.0"
},
"allow-plugins": {
"php-http/discovery": true,
"tbachert/spi": true
}
}
}
Loading
Loading