https://github.com/codibly/docker-php-composer
https://github.com/codibly/docker-php-composer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codibly/docker-php-composer
- Owner: codibly
- Created: 2020-07-16T10:03:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T10:16:14.000Z (almost 6 years ago)
- Last Synced: 2025-06-03T02:28:41.478Z (about 1 year ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Composer with NPM
Based on: https://github.com/prooph/docker-files
## Usage
Add to the `.zshrc`
```
function composer () {
tty=
tty -s && tty=--tty
docker run \
$tty \
--interactive \
--rm \
--volume /etc/passwd:/etc/passwd:ro \
--volume /etc/group:/etc/group:ro \
--volume $(pwd):/app \
codibly/composer "$@"
}
```
License: MIT