Skip to content

Commit

Permalink
Merge pull request #71 from donatj/ellipsis/add_config_9cPe
Browse files Browse the repository at this point in the history
[Ellipsis] Add ellipsis.yaml and Dockerfile
  • Loading branch information
donatj authored May 9, 2024
2 parents 349c939 + fda22c2 commit 91b5741
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ellipsis.Dockerfile
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
11 changes: 11 additions & 0 deletions ellipsis.yaml
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"

0 comments on commit 91b5741

Please sign in to comment.