An open API service indexing awesome lists of open source software.

https://github.com/ccin2p3/dockerfile-php7-xdebug-sonar


https://github.com/ccin2p3/dockerfile-php7-xdebug-sonar

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# PHP 7.0 cli with xdebug and sonar scanner

This image allows you to run and debug your PHP code and the ability to run sonar scanner on your project thanks to Docker.

Installation
---

### Pull from Docker Hub
```
docker pull ccin2p3/php7-xdebug-sonar
```

### Or build from GitHub
```
docker build -t ccin2p3/php7-xdebug-sonar github.com/ccin2p3/dockerfile-php7-xdebug-sonar
```

### Run image
```
docker run -it ccin2p3/php7-xdebug-sonar bash
```

### Or use as base image
```Dockerfile
FROM ccin2p3/php7-xdebug-sonar
```

### Or use it with docker-compose
```yml
app:
image: ccin2p3/php7-xdebug-sonar
ports:
- 9000:9000
expose:
- 9000
environment:
PHP_XDEBUG_ENABLED: 1
tty: true
stdin_open: true
```