-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from donatj/ellipsis/add_config_9cPe
[Ellipsis] Add ellipsis.yaml and Dockerfile
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM php:8.2-cli | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get -y clean \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get -y update --fix-missing \ | ||
&& apt-get -y install locales | ||
|
||
RUN apt-get -y install zip libzip-dev git | ||
|
||
RUN docker-php-ext-install zip sockets pcntl | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER 1 | ||
RUN curl -sS https://getcomposer.org/installer | php \ | ||
&& mv composer.phar /usr/local/bin/composer | ||
|
||
WORKDIR /src | ||
|
||
COPY . . | ||
|
||
RUN composer install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# See https://docs.ellipsis.dev for all available configurations. | ||
|
||
version: 1.3 | ||
|
||
build: | ||
file: "ellipsis.Dockerfile" | ||
commands: | ||
- name: "unit_tests" | ||
command: "./vendor/bin/phpunit" | ||
description: "Run unit tests" | ||
|