Skip to content

Instantly share code, notes, and snippets.

@fizzka
Last active January 23, 2018 16:28
Show Gist options
  • Save fizzka/70a5835d94e4eb091baa654d19251aac to your computer and use it in GitHub Desktop.
Save fizzka/70a5835d94e4eb091baa654d19251aac to your computer and use it in GitHub Desktop.
docker-php-variants
git clone --depth 1 https://github.com/docker-library/php.git php && \
VARIANTS=$(find php -name "Dockerfile" | sed 's/php\/\(.*\)\/Dockerfile/\1/') && \
rm -rf php &&
echo $VARIANTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment