https://github.com/ethercreative/docker-craft-php-fpm-alpine
https://github.com/ethercreative/docker-craft-php-fpm-alpine
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ethercreative/docker-craft-php-fpm-alpine
- Owner: ethercreative
- License: mit
- Created: 2020-01-21T16:21:25.000Z (about 6 years ago)
- Default Branch: php7
- Last Pushed: 2024-05-21T15:26:47.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T12:34:08.007Z (about 1 year ago)
- Language: Dockerfile
- Size: 16.6 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-craft-php-fpm-alpine
## Build arguments
- `WITH_POSTGRES`
- `WITH_MYSQL`
- `WITH_XML`
- `WITH_XDEBUG`
##
### Compose
```
build:
context: https://github.com/ethercreative/docker-craft-php-fpm-alpine.git
args:
- WITH_POSTGRES=1
```
## Build
### PostgreSQL
```
docker build --build-arg WITH_POSTGRES=true -t ethercreative/craft-php-fpm-alpine:postgres .
docker push ethercreative/craft-php-fpm-alpine:postgres
```
#### With XML
```
docker build --build-arg WITH_POSTGRES=true --build-arg WITH_XML=true -t ethercreative/craft-php-fpm-alpine:postgres-xml .
docker push ethercreative/craft-php-fpm-alpine:postgres-xml
```
### MySQL
```
docker build --build-arg WITH_MYSQL=true -t ethercreative/craft-php-fpm-alpine:mysql .
docker push ethercreative/craft-php-fpm-alpine:mysql
```
#### With XML
```
docker build --build-arg WITH_MYSQL=true --build-arg WITH_XML=true -t ethercreative/craft-php-fpm-alpine:mysql-xml .
docker push ethercreative/craft-php-fpm-alpine:mysql-xml
```
## Automatic Build
Run `build.sh` to build all variants and push them to the Docker repository.