compose.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version: '3.8'
  2. services:
  3. php-7.4: &php
  4. build:
  5. target: dev
  6. args:
  7. ALPINE_VERSION: "3.16"
  8. PHP_VERSION: "7.4"
  9. PHP_XDEBUG_VERSION: "3.1.6"
  10. working_dir: /fixer
  11. volumes:
  12. - .:/fixer
  13. environment:
  14. PHP_IDE_CONFIG: serverName=php-cs-fixer
  15. PHP_CS_FIXER_ALLOW_XDEBUG: 1
  16. php-8.0:
  17. <<: *php
  18. build:
  19. args:
  20. ALPINE_VERSION: "3.16"
  21. PHP_VERSION: "8.0"
  22. PHP_XDEBUG_VERSION: "3.2.2"
  23. php-8.1:
  24. <<: *php
  25. build:
  26. args:
  27. PHP_VERSION: "8.1"
  28. PHP_XDEBUG_VERSION: "3.2.2"
  29. php-8.2:
  30. <<: *php
  31. build:
  32. args:
  33. PHP_VERSION: "8.2"
  34. PHP_XDEBUG_VERSION: "3.2.2"
  35. php-8.3:
  36. <<: *php
  37. build:
  38. args:
  39. PHP_VERSION: "8.3"
  40. PHP_XDEBUG_VERSION: "3.3.0"
  41. sphinx-lint:
  42. build:
  43. target: sphinx-lint
  44. working_dir: /fixer
  45. volumes:
  46. - .:/fixer
  47. markdown-lint:
  48. image: registry.gitlab.com/pipeline-components/markdownlint:latest
  49. command: mdl --git-recurse .
  50. working_dir: /fixer
  51. volumes:
  52. - .:/fixer