Skip to content

ke20/docker-symfony-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

symfony-cli

A lightweight image with symfony-cli

How to use

Add in your shell rc file the code below :

symfony () {
    tty=
    tty -s && tty=--tty
    docker run $tty -i --rm \
        -v $(pwd):$(pwd) \
        -v /etc/passwd:/etc/passwd:ro \
        -v /etc/group:/etc/group:ro \
        -u $(id -u):$(id -g) \
        -v "$(pwd):$(pwd)" \
        -w "$(pwd)" \
        ke20/symfony-cli "$@"
}

Open a new terminal or reload your shell session and the command below should succeed:

$ symfony --help

About

A lightweight image with symfony-cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published