Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .docker/php.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ARG PHP_VERSION

FROM php:${PHP_VERSION}-cli-alpine

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
22 changes: 0 additions & 22 deletions .docker/php81.Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions .docker/php82.Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions .docker/php83.Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions .docker/php84.Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions .docker/php85.Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
/.styleci.yml export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/ompose.yml export-ignore
/compose.yml export-ignore
/phpunit.xml.dist export-ignore
20 changes: 15 additions & 5 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ services:
image: laravel-ban-lib-81
build:
context: ./
dockerfile: ./.docker/php81.Dockerfile
dockerfile: ./.docker/php.Dockerfile
args:
PHP_VERSION: "8.1"
tty: true
working_dir: /app
volumes:
Expand All @@ -15,7 +17,9 @@ services:
image: laravel-ban-lib-82
build:
context: ./
dockerfile: ./.docker/php82.Dockerfile
dockerfile: ./.docker/php.Dockerfile
args:
PHP_VERSION: "8.2"
tty: true
working_dir: /app
volumes:
Expand All @@ -26,7 +30,9 @@ services:
image: laravel-ban-lib-83
build:
context: ./
dockerfile: ./.docker/php83.Dockerfile
dockerfile: ./.docker/php.Dockerfile
args:
PHP_VERSION: "8.3"
tty: true
working_dir: /app
volumes:
Expand All @@ -37,7 +43,9 @@ services:
image: laravel-ban-lib-84
build:
context: ./
dockerfile: ./.docker/php84.Dockerfile
dockerfile: ./.docker/php.Dockerfile
args:
PHP_VERSION: "8.4"
tty: true
working_dir: /app
volumes:
Expand All @@ -48,7 +56,9 @@ services:
image: laravel-ban-lib-85
build:
context: ./
dockerfile: ./.docker/php85.Dockerfile
dockerfile: ./.docker/php.Dockerfile
args:
PHP_VERSION: "8.5"
tty: true
working_dir: /app
volumes:
Expand Down