File tree Expand file tree Collapse file tree 4 files changed +47
-0
lines changed Expand file tree Collapse file tree 4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ghcr.io/nextcloud/continuous-integration-php8.3:latest
2+
3+ RUN mkdir /tmp/server && \
4+ cd /tmp/server && git clone --recursive https://github.com/nextcloud/server.git && \
5+ cd /tmp/server/server/build/integration && composer install && \
6+ cd /tmp/server/server/tests/acceptance && composer install && \
7+ rm -rf /tmp/server
Original file line number Diff line number Diff line change 1+ FROM ghcr.io/nextcloud/continuous-integration-php8.3:latest
2+
3+ RUN apt-get update && apt-get install -y gcc coreutils make python && \
4+ mkdir -p /tmp/litmus && \
5+ wget -O /tmp/litmus/litmus-0.13.tar.gz http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz && \
6+ cd /tmp/litmus && tar -xzf litmus-0.13.tar.gz && \
7+ cd /tmp/litmus/litmus-0.13 && ./configure && make && rm -f /tmp/litmus-0.13.tar.gz && \
8+ apt-get clean
Original file line number Diff line number Diff line change 1+ FROM debian:buster
2+ RUN apt-get update && apt-get install -y wget gnupg2 libzip4 apt-transport-https lsb-release ca-certificates && \
3+ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
4+ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \
5+ apt-get update && apt-get install -y php8.3-intl php8.3-gd git curl \
6+ php8.3-cli php8.3-curl php8.3-pgsql php8.3-ldap \
7+ php8.3-sqlite php8.3-mysql php8.3-zip php8.3-xml \
8+ php8.3-redis php8.3-imagick php8.3-xdebug php8.3-apcu \
9+ php8.3-mbstring make libmagickcore-6.q16-2-extra && \
10+ apt-get autoremove -y && apt-get autoclean && apt-get clean && \
11+ rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
12+
13+ RUN phpenmod zip intl gd systemd
14+ RUN curl -O -L https://phar.phpunit.de/phpunit-9.5.28.phar \
15+ && chmod +x phpunit-9.5.28.phar \
16+ && mv phpunit-9.5.28.phar /usr/local/bin/phpunit
17+ RUN curl -O -L https://getcomposer.org/download/2.5.1/composer.phar \
18+ && chmod +x composer.phar \
19+ && mv composer.phar /usr/local/bin/composer
20+
21+ RUN phpdismod xdebug
22+ ADD nextcloud.ini /etc/php/8.3/cli/conf.d/nextcloud.ini
Original file line number Diff line number Diff line change 1+ memory_limit = 768M
2+ phar.readonly = 0 ; only for building phar files on CI - should be disabled on production environments
3+ ; Opcache
4+ opcache.enable =1
5+ opcache.enable_cli =1
6+ opcache.interned_strings_buffer =8
7+ opcache.max_accelerated_files =10000
8+ opcache.memory_consumption =128
9+ opcache.save_comments =1
10+ opcache.revalidate_freq =1
You can’t perform that action at this time.
0 commit comments