File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM php:8.3-cli
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends zip libzip-dev libpspell-dev && \
5
+ docker-php-ext-install zip pspell
6
+
7
+ RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
8
+
9
+ RUN mkdir -p /app
10
+
11
+ COPY ./ /app
12
+
13
+ RUN composer --working-dir=/app install
14
+
15
+ RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
16
+
17
+ CMD ["/bin/sh"]
Original file line number Diff line number Diff line change
1
+ FROM php:8.4-cli
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends zip libzip-dev libpspell-dev && \
5
+ docker-php-ext-install zip
6
+
7
+ RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
8
+
9
+ RUN mkdir -p /app
10
+
11
+ COPY ./ /app
12
+
13
+ RUN composer --working-dir=/app install
14
+
15
+ RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
16
+
17
+ CMD ["/bin/sh"]
You can’t perform that action at this time.
0 commit comments