-
Notifications
You must be signed in to change notification settings - Fork 606
Add initial jq-based templating engine #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
generate-stackbrew-library.sh
Outdated
} | ||
|
||
# sort version numbers with highest first | ||
#IFS=$'\n'; versions=( $(echo "${versions[*]}" | sort -rV) ); unset IFS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably delete this comment and just copy what Go has: https://github.com/docker-library/golang/blob/ee2d52a7ad3e077af02313cd4cd87fd39837412c/generate-stackbrew-library.sh#L26-L27
versions.sh
Outdated
export bashbrewArch url | ||
doc="$( | ||
jq <<<"$doc" -c '.arches[env.bashbrewArch] = { | ||
dockerUrl: env.url, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dockerUrl: env.url, | |
dockerUrl: env.url, |
versions.sh
Outdated
|
||
# order here controls the order of the library/ file | ||
for variant in \ | ||
"" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"" \ | |
'' \ |
Changes: - docker-library/docker@5373612: Merge pull request docker-library/docker#262 from infosiftr/jq-template - docker-library/docker@12d1c27: Add initial jq-based templating engine
Based on docker-library/php#1052 and related. Also finally drops
windows
support from scripts.