dotfiles/bin/docker-php

3 lines
147 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
docker run --rm -it --entrypoint /usr/bin/php --user $(id -u):$(id -g) -e HOME="${HOME}" -v ${HOME}:${HOME} --workdir $(pwd) php:70 $@