A PHP 7.2 CLI container based on Alpine Linux.
Only needed for testing the build actually works.
$ docker build --no-cache -t seanhamlin/cfcli:dev -f Dockerfile .
$ docker pull seanhamlin/cfcli
The default entry point of the container is cfcli
so there is no need to
specify this command. Instead just pass in the arguments to the cfcli
command.
$ docker run --rm -it -v$HOME/.cfcli:/root/.cfcli seanhamlin/cfcli
$ docker run --rm -it -v$HOME/.cfcli:/root/.cfcli seanhamlin/cfcli zone:list