https://github.com/ccin2p3/dockerfile-php7-xdebug-sonar
https://github.com/ccin2p3/dockerfile-php7-xdebug-sonar
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ccin2p3/dockerfile-php7-xdebug-sonar
- Owner: ccin2p3
- Created: 2017-02-07T13:53:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T09:14:51.000Z (about 6 years ago)
- Last Synced: 2025-01-23T14:41:26.639Z (4 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```