https://github.com/codemonauts/docker-craft-cms-ci-env
Container which can be used in CICD pipelines for CraftCMS
https://github.com/codemonauts/docker-craft-cms-ci-env
Last synced: about 1 month ago
JSON representation
Container which can be used in CICD pipelines for CraftCMS
- Host: GitHub
- URL: https://github.com/codemonauts/docker-craft-cms-ci-env
- Owner: codemonauts
- Created: 2020-01-13T16:29:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T15:06:05.000Z (over 2 years ago)
- Last Synced: 2025-05-30T19:02:53.723Z (9 months ago)
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-craft-cms-ci-env

This image is intendet to use in a CI/CD pipeline to build CraftCMS websites (or other PHP applications). It contains:
* PHP 8.1
* composer
* NodeJS 18
* npm
## Example usage with Gitlab CI
```yaml
build:
stage: build
image: codemonauts/craft-cms-ci-env
artifacts:
paths:
- package.zip
script:
- cd src/
- npm ci
- npm run build
- cd ..
- composer install --ignore-platform-reqs --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
- zip -qr package.zip .
```