diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 3233856..0000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM php:8.1-cli - -WORKDIR /app - -RUN apt-get update -yqq \ - && apt-get install -yqq git unzip - -ENV PATH="${PATH}:/app/vendor/bin" - -COPY --from=composer:2 /usr/bin/composer /usr/bin/composer - -COPY composer.* ./ - -RUN composer install - -COPY . . - -ENTRYPOINT ["bash"] diff --git a/examples/php-full/.env.example b/examples/php-full/.env.example deleted file mode 100644 index 6d85700..0000000 --- a/examples/php-full/.env.example +++ /dev/null @@ -1 +0,0 @@ -export COMPOSE_PROJECT_NAME=php-full diff --git a/examples/php-full/Dockerfile b/examples/php-full/Dockerfile deleted file mode 100644 index dbdff34..0000000 --- a/examples/php-full/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM php:8.1-cli-bullseye AS base - -COPY --from=composer:2 /usr/bin/composer /usr/bin/composer -RUN which composer && composer -V - -WORKDIR /app - -ENV PATH="${PATH}:/app/vendor/bin" - -COPY composer.* ./ - - -################################################################################ - -FROM base AS build - - -RUN apt-get update -yqq \ - && apt-get install -yqq --no-install-recommends \ - git unzip - - -RUN composer install - - - - -################################################################################ - -FROM base AS test - -COPY . . - -RUN phpunit --testdox - - diff --git a/examples/php-full/build.yaml b/examples/php-full/build.yaml deleted file mode 100644 index 1bda9e8..0000000 --- a/examples/php-full/build.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: php-full -language: php -type: drupal - -dockerfile: - stages: - build: - extends: base - packages: - - git - - unzip - commands: - - composer install - - test: - extends: base - commands: - - phpunit --testdox - -php: - version: 8.1-cli-bullseye - phpstan: - level: 7 - paths: - - app - - src diff --git a/examples/php-full/phpcs.xml.dist b/examples/php-full/phpcs.xml.dist deleted file mode 100644 index 31a245f..0000000 --- a/examples/php-full/phpcs.xml.dist +++ /dev/null @@ -1,7 +0,0 @@ - - - PHPCS configuration file for php-full. - src - - - diff --git a/examples/php-full/phpstan.neon.dist b/examples/php-full/phpstan.neon.dist deleted file mode 100644 index 25c6a6c..0000000 --- a/examples/php-full/phpstan.neon.dist +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - level: 7 - paths: - - app - - src - diff --git a/examples/php-full/phpunit.xml.dist b/examples/php-full/phpunit.xml.dist deleted file mode 100644 index c81b0d7..0000000 --- a/examples/php-full/phpunit.xml.dist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - tests - - - diff --git a/examples/php-simple/.env.example b/examples/php-simple/.env.example deleted file mode 100644 index 387d990..0000000 --- a/examples/php-simple/.env.example +++ /dev/null @@ -1 +0,0 @@ -export COMPOSE_PROJECT_NAME=php-simple diff --git a/examples/php-simple/Dockerfile b/examples/php-simple/Dockerfile deleted file mode 100644 index 1b1ba93..0000000 --- a/examples/php-simple/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM php:8.1-cli-bullseye AS base - -COPY --from=composer:2 /usr/bin/composer /usr/bin/composer -RUN which composer && composer -V - -WORKDIR /app - -ENV PATH="${PATH}:/app/vendor/bin" - -COPY composer.* ./ - - - - diff --git a/examples/php-simple/build.yaml b/examples/php-simple/build.yaml deleted file mode 100644 index e820cd9..0000000 --- a/examples/php-simple/build.yaml +++ /dev/null @@ -1,5 +0,0 @@ -name: php-simple -language: php -type: php-library -php: - version: 8.1-cli-bullseye diff --git a/examples/php-simple/phpcs.xml.dist b/examples/php-simple/phpcs.xml.dist deleted file mode 100644 index 87b1e20..0000000 --- a/examples/php-simple/phpcs.xml.dist +++ /dev/null @@ -1,7 +0,0 @@ - - - PHPCS configuration file for php-simple. - src - - - diff --git a/examples/php-simple/phpstan.neon.dist b/examples/php-simple/phpstan.neon.dist deleted file mode 100644 index 2f7d10d..0000000 --- a/examples/php-simple/phpstan.neon.dist +++ /dev/null @@ -1,5 +0,0 @@ -parameters: - level: - paths: - - src - diff --git a/examples/php-simple/phpunit.xml.dist b/examples/php-simple/phpunit.xml.dist deleted file mode 100644 index 633b0d0..0000000 --- a/examples/php-simple/phpunit.xml.dist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - tests - - -