Skip to content

Commit

Permalink
Merge pull request #32 from docksal/develop
Browse files Browse the repository at this point in the history
Release 2.0.1
  • Loading branch information
lmakarov authored Mar 16, 2018
2 parents 14a6f9b + c50e9d3 commit e81b697
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion 5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ RUN set -xe; \
memcache \
redis \
ssh2 \
xdebug \
# xdebug-2.5.5 is the last version with php5 support
xdebug-2.5.5 \
;\
docker-php-ext-enable \
gnupg \
Expand Down
1 change: 1 addition & 0 deletions 7.2/php-modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
ssh2
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# CLI Docker image for Docksal

This image is focused on console tools necessary to develop LAMP stack applications (namely Drupal and WordPress).
This image is focused on console tools necessary to develop LAMP stack applications.

This image(s) is part of the [Docksal](http://docksal.io) image library.


## Versions and image tag naming convention

- Stable versions
- `<version>-php7`, `php7`, `latest` - PHP 7.0
- `<version>-php5`, `php5` - PHP 5.6
- `2.0-php5.6`, `php5.6` - PHP 5.6
- `2.0-php7.0`, `php7.0` - PHP 7.0
- `2.0-php7.1`, `php7.1` - PHP 7.1
- `2.0-php7.2`, `php7.2`, `latest` - PHP 7.2
- Development versions
- `edge-php7` - PHP 7.0
- `edge-php5` - PHP 5.6

Examples:

- `docksal/cli:1.2-php7` - a specific stable image version with PHP7
- `docksal/cli:php5` - the latest stable image version with PHP5
- `edge-php5.6` - PHP 5.6
- `edge-php7.0` - PHP 7.0
- `edge-php7.1` - PHP 7.1
- `edge-php7.2` - PHP 7.2


## Includes

- php
- php-fpm && php-cli 5.6.x / 7.0.x
- php-fpm && php-cli
- xdebug
- composer
- drush (6,7,8)
Expand Down Expand Up @@ -65,3 +64,5 @@ cli
- XDEBUG_ENABLED=1
...
```

See [docs](https://docs.docksal.io/en/master/tools/xdebug) on using Xdebug for web and cli PHP debugging.
2 changes: 1 addition & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ _healthcheck_wait ()

# Check xdebug was enabled
run docker exec "$NAME" php -m
echo "$output" | grep "xdebug"
echo "$output" | grep -e "^xdebug$"
unset output

# Check PHP CLI overrides
Expand Down

0 comments on commit e81b697

Please sign in to comment.