Created
June 30, 2020 06:31
-
-
Save timosalm/1b0220e6f799b9c927825f3308a43767 to your computer and use it in GitHub Desktop.
Get used CF Docker images
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
#!/usr/bin/env bash | |
export CC_API_URL=https://api.run.pivotal.io | |
curl -G "${CC_API_URL}/v3/packages" \ | |
--data-urlencode "types=docker" \ | |
--data-urlencode "per_page=5000" \ | |
-H "Authorization: $(cf oauth-token)" | jq '.resources[].data?.image?' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment