Add capability for a simple deprecation notice, and add one for ubuntu-debootstrap and ubuntu-upstart
This commit is contained in:
parent
d986c18860
commit
002db62a45
|
|
@ -0,0 +1 @@
|
|||
This image is officially deprecated in favor of [the standard `ubuntu` image](https://hub.docker.com/_/ubuntu/), and will receive no further updates. Please adjust your usage accordingly.
|
||||
|
|
@ -0,0 +1 @@
|
|||
This image is officially deprecated (especially now that Upstart is no longer the default init system for Ubuntu) and will receive no further updates. Please adjust your usage accordingly.
|
||||
|
|
@ -132,7 +132,14 @@ for repo in "${repos[@]}"; do
|
|||
composeYml=$'```yaml\n'"$(cat "$repo/docker-compose.yml")"$'\n```'
|
||||
fi
|
||||
|
||||
cp -v "$helperDir/template.md" "$repo/README.md"
|
||||
deprecated=
|
||||
if [ -f "$repo/deprecated.md" ]; then
|
||||
deprecated=$'# **DEPRECATED**\n\n'
|
||||
deprecated+="$(cat "$repo/deprecated.md")"
|
||||
deprecated+=$'\n\n'
|
||||
fi
|
||||
|
||||
{ echo -n "$deprecated"; cat "$helperDir/template.md"; } > "$repo/README.md"
|
||||
|
||||
echo ' TAGS => generate-dockerfile-links-partial.sh'
|
||||
partial="$("$helperDir/generate-dockerfile-links-partial.sh" "$repo")"
|
||||
|
|
|
|||
Loading…
Reference in New Issue