This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SHA256_HASH="df41d97cb66f3407c9b728b4d553e3bc6f7a2ffa7b47633aa6e2422d612a5461" | |
for i in {1..1000} | |
do | |
echo "Looking into page: $i" | |
curl "https://registry.hub.docker.com/v2/repositories/nginxproxy/docker-gen/tags/?page=$i" \ | |
| jq '.results[] | select(.["images"][]["digest"] == "sha256:'${SHA256_HASH}'")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:docker-library/php.git docker-library-php | |
## Go to the specific version you're interested in | |
cd docker-library-php/7.1/fpm/alpine | |
## Edit the .Dockerfile. | |
## Change | |
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data | |
## to | |
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-debug | |
## Comment out or delete: |