Skip to content

Syncup with remote #2

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

Merged
merged 1,052 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1052 commits
Select commit Hold shift + click to select a range
e577b73
Run update.sh
docker-library-bot Feb 12, 2021
371aa2b
Merge pull request #1875 from infosiftr/known
yosifkit Feb 12, 2021
8dd4ba7
mediawiki: Update maintainer description
legoktm Feb 12, 2021
cfdbd6d
Run update.sh
docker-library-bot Feb 13, 2021
6d52d27
Merge pull request #1876 from legoktm/patch-1
tianon Feb 13, 2021
4856208
Run update.sh
docker-library-bot Feb 13, 2021
20bae10
Remove whitespace in content.md
zipengwu Feb 15, 2021
3b3b2ef
Revert "add sonar-scanner-cli docs (#8)" #11
tobias-trabelsi-sonarsource Feb 16, 2021
bda1445
Run update.sh
docker-library-bot Feb 16, 2021
98bbccf
Run update.sh
docker-library-bot Feb 16, 2021
8082bd7
Run update.sh
docker-library-bot Feb 17, 2021
c67e05e
Correct openliberty doc for server feature configuration (#1863)
l3ender Feb 17, 2021
df1d583
Run update.sh
docker-library-bot Feb 17, 2021
ca30d08
Update Debian "How It's Made" from "build.sh" to "debian.sh"
tianon Feb 17, 2021
441e938
Run update.sh
docker-library-bot Feb 17, 2021
3526877
Run update.sh
docker-library-bot Feb 17, 2021
423405d
Run update.sh
docker-library-bot Feb 18, 2021
2e24b78
Merge pull request #1878 from tianon/debian.sh
yosifkit Feb 18, 2021
8081e9f
Run update.sh
docker-library-bot Feb 18, 2021
a6e0e33
Run update.sh
docker-library-bot Feb 18, 2021
0a1c393
Run update.sh
docker-library-bot Feb 18, 2021
bf2a141
Run update.sh
docker-library-bot Feb 18, 2021
212f3fb
Run update.sh
docker-library-bot Feb 18, 2021
c51f4ff
Run update.sh
docker-library-bot Feb 19, 2021
b546675
Run update.sh
docker-library-bot Feb 19, 2021
1b8dd6f
Run update.sh
docker-library-bot Feb 22, 2021
51a40c4
Run update.sh
docker-library-bot Feb 22, 2021
a4d9119
Run update.sh
docker-library-bot Feb 22, 2021
2e39349
Run update.sh
docker-library-bot Feb 23, 2021
2be8cd1
Run update.sh
docker-library-bot Feb 23, 2021
2cf8ed6
Run update.sh
docker-library-bot Feb 23, 2021
570fa6d
Run update.sh
docker-library-bot Feb 24, 2021
229edf8
Run update.sh
docker-library-bot Feb 24, 2021
db59b6d
Run update.sh
docker-library-bot Feb 24, 2021
73f5c91
influxdb: Add documentation for the 2.x line. (#1871)
danxmoran Feb 24, 2021
608d3c1
Repo moved to jruby org a few months ago
headius Feb 24, 2021
444878b
Run update.sh
docker-library-bot Feb 24, 2021
faf7271
Merge pull request #1881 from headius/patch-1
yosifkit Feb 24, 2021
f0f5e79
Run update.sh
docker-library-bot Feb 24, 2021
fe985dc
MariaDB: docs update + repo move (#1880)
grooverdan Feb 25, 2021
4fd8789
Run update.sh
docker-library-bot Feb 25, 2021
7ae8889
Run update.sh
docker-library-bot Feb 25, 2021
9c161de
Merge pull request #1877 from SonarSource/master
yosifkit Feb 25, 2021
2c10703
Run update.sh
docker-library-bot Feb 25, 2021
8817207
Run update.sh
docker-library-bot Feb 26, 2021
701d20b
Rearrange InfluxDB docs so upgrade info is immediately visible.
danxmoran Feb 26, 2021
8265c64
Merge pull request #1882 from influxdata/dm-influxdb-no-ref-latest
yosifkit Feb 26, 2021
21afa8e
Run update.sh
docker-library-bot Feb 26, 2021
50eee45
Run update.sh
docker-library-bot Feb 26, 2021
d1bf869
Run update.sh
docker-library-bot Feb 27, 2021
253bd5e
Run update.sh
docker-library-bot Feb 27, 2021
87ef0d1
[nats-streaming] Release v0.21.0
kozlovic Mar 1, 2021
0333e62
Run update.sh
docker-library-bot Mar 1, 2021
0a87ba7
Merge pull request #1883 from nats-io/stan_0_21_0
yosifkit Mar 2, 2021
b9db894
Run update.sh
docker-library-bot Mar 2, 2021
1d87bbd
Run update.sh
docker-library-bot Mar 2, 2021
88ce492
Run update.sh
docker-library-bot Mar 2, 2021
14884e7
Run update.sh
docker-library-bot Mar 2, 2021
bdd907d
Run update.sh
docker-library-bot Mar 3, 2021
bb33862
Run update.sh
docker-library-bot Mar 3, 2021
a3e5cbf
Run update.sh
docker-library-bot Mar 3, 2021
15c25c3
Run update.sh
docker-library-bot Mar 4, 2021
64f8891
Run update.sh
docker-library-bot Mar 4, 2021
a6227bd
Add some notes to the Rootless section (#1884)
wglambert Mar 4, 2021
3215e8a
Run update.sh
docker-library-bot Mar 4, 2021
4ee5722
Run update.sh
docker-library-bot Mar 4, 2021
75e940a
Adjust variant-alpine wording
tianon Mar 4, 2021
9c5d6aa
Merge pull request #1885 from infosiftr/reword-alpine
yosifkit Mar 5, 2021
54bbfcb
Run update.sh
docker-library-bot Mar 5, 2021
7776132
Run update.sh
docker-library-bot Mar 6, 2021
f375487
Run update.sh
docker-library-bot Mar 6, 2021
f810d15
Run update.sh
docker-library-bot Mar 8, 2021
de3fd14
Run update.sh
docker-library-bot Mar 9, 2021
40acdc2
Run update.sh
docker-library-bot Mar 9, 2021
3cca4d6
Neo4j Link "getting help" to community forums (#1886)
jennyowen Mar 9, 2021
16ae4bb
Run update.sh
docker-library-bot Mar 9, 2021
80e1540
Run update.sh
docker-library-bot Mar 9, 2021
806a62e
Fixup InfluxDB 2.x docs.
danxmoran Mar 10, 2021
6e85e69
Run update.sh
docker-library-bot Mar 10, 2021
bce4fc1
Run update.sh
docker-library-bot Mar 11, 2021
8b2f726
Run update.sh
docker-library-bot Mar 11, 2021
d2eeb0a
Run update.sh
docker-library-bot Mar 11, 2021
59a26f4
Run update.sh
docker-library-bot Mar 11, 2021
4445c32
Run update.sh
docker-library-bot Mar 11, 2021
939accf
Run update.sh
docker-library-bot Mar 12, 2021
d1b7b5d
Run update.sh
docker-library-bot Mar 12, 2021
7c6cd1a
Run update.sh
docker-library-bot Mar 12, 2021
847f674
Wordpress_db is no longer auto created
yosifkit Mar 12, 2021
8daf110
Merge pull request #1892 from infosiftr/no-wpdb
tianon Mar 12, 2021
9f11db6
Run update.sh
docker-library-bot Mar 13, 2021
c927f8e
Run update.sh
docker-library-bot Mar 13, 2021
c16f0b4
[nats] Release v2.2.0
kozlovic Mar 15, 2021
5733898
Run update.sh
docker-library-bot Mar 15, 2021
3b4521b
Run update.sh
docker-library-bot Mar 15, 2021
fbb4aef
Merge pull request #1893 from nats-io/release_2_2_0
yosifkit Mar 15, 2021
29914f0
Run update.sh
docker-library-bot Mar 15, 2021
0709332
Run update.sh
docker-library-bot Mar 16, 2021
2b1bfbc
Run update.sh
docker-library-bot Mar 16, 2021
ef11d78
Run update.sh
docker-library-bot Mar 17, 2021
ff4ab86
Update comment doc url
heng1025 Mar 17, 2021
831ed28
Run update.sh
docker-library-bot Mar 17, 2021
0f38c41
Run update.sh
docker-library-bot Mar 17, 2021
6511631
Merge pull request #1894 from heng1025/patch-1
tianon Mar 17, 2021
3187cf5
Run update.sh
docker-library-bot Mar 17, 2021
0a2d582
Run update.sh
docker-library-bot Mar 18, 2021
5bfca11
Run update.sh
docker-library-bot Mar 18, 2021
b1636c0
Run update.sh
docker-library-bot Mar 18, 2021
3398477
Run update.sh
docker-library-bot Mar 19, 2021
b60880f
Run update.sh
docker-library-bot Mar 19, 2021
ec412cb
Run update.sh
docker-library-bot Mar 19, 2021
706eadc
Run update.sh
docker-library-bot Mar 19, 2021
80e12f6
Run update.sh
docker-library-bot Mar 20, 2021
f3e7df0
Update MariaDB docs run command
chrisbyboston Mar 20, 2021
f571892
Run update.sh
docker-library-bot Mar 22, 2021
165b25b
Plone 5.2.4 update docs (#1887)
avoinea Mar 23, 2021
7af4da6
Run update.sh
docker-library-bot Mar 23, 2021
463d5ca
Run update.sh
docker-library-bot Mar 23, 2021
f139567
Run update.sh
docker-library-bot Mar 23, 2021
17769f3
Merge pull request #1898 from iwschris/update_maria_docs
tianon Mar 23, 2021
9cd729f
Run update.sh
docker-library-bot Mar 23, 2021
174785a
Update Maven maintainer text
tianon Mar 23, 2021
2a594d5
Merge pull request #1888 from influxdata/dm-influxdb-2x-remove-ro
tianon Mar 23, 2021
7451c1a
Run update.sh
docker-library-bot Mar 23, 2021
8221c80
Run update.sh
docker-library-bot Mar 24, 2021
06708eb
Run update.sh
docker-library-bot Mar 24, 2021
5bc60db
Run update.sh
docker-library-bot Mar 24, 2021
0dadd62
Run update.sh
docker-library-bot Mar 25, 2021
6a3496f
[varnish] add extra configuration explanations
Mar 25, 2021
49f97a0
Run update.sh
docker-library-bot Mar 25, 2021
3b6a041
Run update.sh
docker-library-bot Mar 25, 2021
dc26160
Merge pull request #1901 from gquintard/varnish_moredocs
yosifkit Mar 25, 2021
3abd666
Run update.sh
docker-library-bot Mar 26, 2021
c31c27c
Run update.sh
docker-library-bot Mar 26, 2021
e35ed3b
Run update.sh
docker-library-bot Mar 26, 2021
8668d99
Run update.sh
docker-library-bot Mar 26, 2021
23e760c
Fix description
nupplaphil Mar 28, 2021
acfcec6
Apply suggestions from code review
ThijsFeryn Mar 29, 2021
0d7fe82
Remove part about Varnish and make it more generic
ThijsFeryn Mar 29, 2021
4fd146b
Change Caddy reload command to not return an error
LukasDoesDev Mar 29, 2021
298fecd
Merge pull request #1900 from infosiftr/maven-maintainer
yosifkit Mar 29, 2021
357f2e7
Run update.sh
docker-library-bot Mar 29, 2021
23032b7
Run update.sh
docker-library-bot Mar 29, 2021
b64d9fd
Run update.sh
docker-library-bot Mar 29, 2021
4911f8a
Run update.sh
docker-library-bot Mar 29, 2021
c75ee4d
Run update.sh
docker-library-bot Mar 29, 2021
1ef38f7
Merge pull request #1903 from LukasDoesDev/patch-1
yosifkit Mar 29, 2021
fe81ad6
Run update.sh
docker-library-bot Mar 29, 2021
9b85f07
Run update.sh
docker-library-bot Mar 30, 2021
18485db
Merge pull request #1902 from nupplaphil/friendica
yosifkit Mar 30, 2021
bda43ed
Run update.sh
docker-library-bot Mar 30, 2021
7309aac
Run update.sh
docker-library-bot Mar 30, 2021
e8fe8e0
Run update.sh
docker-library-bot Mar 30, 2021
4486d74
Run update.sh
docker-library-bot Mar 31, 2021
4dfaf28
Run update.sh
docker-library-bot Mar 31, 2021
67fbf71
Run update.sh
docker-library-bot Mar 31, 2021
901ba0e
Run update.sh
docker-library-bot Apr 1, 2021
6b88607
Run update.sh
docker-library-bot Apr 1, 2021
fe8933c
Run update.sh
docker-library-bot Apr 1, 2021
e5b894f
Update the CrateDB Docker image homepage
nomirosa Mar 31, 2021
74bce58
Run update.sh
docker-library-bot Apr 1, 2021
f751cd9
Merge pull request #1905 from crate/nomi/2021-4.5
yosifkit Apr 1, 2021
2df94d0
Run update.sh
docker-library-bot Apr 1, 2021
e3defdd
Run update.sh
docker-library-bot Apr 2, 2021
3449ff3
Run update.sh
docker-library-bot Apr 2, 2021
cb3f009
Run update.sh
docker-library-bot Apr 2, 2021
27f9fd8
Merge pull request #1675 from ThijsFeryn/add/hitch
tianon Apr 2, 2021
3e1bfd0
Run update.sh
docker-library-bot Apr 2, 2021
7e19c28
[nats] Release v2.2.1
kozlovic Apr 2, 2021
dd838ff
Run update.sh
docker-library-bot Apr 3, 2021
bba0656
Merge pull request #1906 from nats-io/nats_2_2_1
tianon Apr 3, 2021
55c853a
Run update.sh
docker-library-bot Apr 3, 2021
afb0587
Run update.sh
docker-library-bot Apr 3, 2021
cbcd798
Run update.sh
docker-library-bot Apr 5, 2021
7bd1c71
Run update.sh
docker-library-bot Apr 5, 2021
d637648
Run update.sh
docker-library-bot Apr 6, 2021
226c10e
Run update.sh
docker-library-bot Apr 6, 2021
f231323
SONAR-14647 added licence information
tobias-trabelsi-sonarsource Apr 7, 2021
13851b1
Run update.sh
docker-library-bot Apr 7, 2021
db8aa76
Merge pull request #1908 from SonarSource/master
yosifkit Apr 7, 2021
8f7326e
Minor doc upgrade for the Convertigo 7.9.2 release (#1909)
nicolas-albert Apr 7, 2021
cf9dbd1
Run update.sh
docker-library-bot Apr 7, 2021
94db3a2
Run update.sh
docker-library-bot Apr 8, 2021
3c139c1
Run update.sh
docker-library-bot Apr 8, 2021
95116bd
Run update.sh
docker-library-bot Apr 8, 2021
a984afb
Adjust WP-CLI docs for our customized `wp-config.php`
yosifkit Apr 8, 2021
b43ccb7
Run update.sh
docker-library-bot Apr 9, 2021
3c9e110
Run update.sh
docker-library-bot Apr 9, 2021
271afc8
Run update.sh
docker-library-bot Apr 9, 2021
e094df5
Run update.sh
docker-library-bot Apr 9, 2021
fffd507
Merge pull request #1810 from 123aswin123/kong-postgres-example-code-fix
yosifkit Apr 9, 2021
d0ae64f
Run update.sh
docker-library-bot Apr 9, 2021
051d052
Run update.sh
docker-library-bot Apr 10, 2021
5e83a02
Run update.sh
docker-library-bot Apr 10, 2021
82edffd
[mediawiki] Update logo
davidbarratt Apr 11, 2021
28f8b77
Run update.sh
docker-library-bot Apr 12, 2021
6f76373
Run update.sh
docker-library-bot Apr 12, 2021
8c663ac
Improve documentation about how ADMINER_PLUGINS interacts with plugin…
kerhong Apr 13, 2021
fbcadf1
Run update.sh
docker-library-bot Apr 13, 2021
3cb0afa
Run update.sh
docker-library-bot Apr 13, 2021
d2d7333
Merge pull request #1914 from kerhong/patch-1
tianon Apr 13, 2021
f508c7b
Run update.sh
docker-library-bot Apr 14, 2021
64fb383
Run update.sh
docker-library-bot Apr 14, 2021
1f7e1cd
Run update.sh
docker-library-bot Apr 14, 2021
f027ba6
Run update.sh
docker-library-bot Apr 14, 2021
a2e3f2b
Run update.sh
docker-library-bot Apr 14, 2021
e324498
Run update.sh
docker-library-bot Apr 15, 2021
35537a4
Run update.sh
docker-library-bot Apr 15, 2021
eca7e66
Merge pull request #1912 from davidbarratt/mediawiki-logo
tianon Apr 15, 2021
18c578b
Adjust windows/OSX warning for mongodb
yosifkit Apr 15, 2021
4137a3a
Merge pull request #1915 from infosiftr/win-mongo
tianon Apr 15, 2021
c81fcb4
Run update.sh
docker-library-bot Apr 15, 2021
7403696
Run update.sh
docker-library-bot Apr 16, 2021
59e61b2
Run update.sh
docker-library-bot Apr 16, 2021
e31651e
Run update.sh
docker-library-bot Apr 16, 2021
bf043e1
Run update.sh
docker-library-bot Apr 17, 2021
ce20d4c
Reduce Arch Linux rootfs retention time to 2 months
hashworks Apr 17, 2021
7c08de7
Merge pull request #1918 from hashworks/archlinux/adjustRetentionTime
tianon Apr 17, 2021
6badc16
Run update.sh
docker-library-bot Apr 17, 2021
865a848
Run update.sh
docker-library-bot Apr 19, 2021
81747ef
Run update.sh
docker-library-bot Apr 20, 2021
6667e9a
Update the location of the Elastic License
xeraa Apr 20, 2021
0ca69ca
Update the location of the Elastic License
xeraa Apr 20, 2021
266489e
Merge pull request #1921 from xeraa/patch-1
tianon Apr 20, 2021
fe6726c
Merge pull request #1922 from xeraa/patch-2
tianon Apr 20, 2021
f437b97
Run update.sh
docker-library-bot Apr 20, 2021
ee082ef
Run update.sh
docker-library-bot Apr 20, 2021
be44d78
Merge pull request #1911 from infosiftr/wpcli
tianon Apr 21, 2021
ac4424d
Run update.sh
docker-library-bot Apr 21, 2021
d8bd3e8
Run update.sh
docker-library-bot Apr 21, 2021
67155d9
Run update.sh
docker-library-bot Apr 21, 2021
64d011d
Run update.sh
docker-library-bot Apr 22, 2021
97f014d
Run update.sh
docker-library-bot Apr 22, 2021
fd6f138
Aerospike Update license.md (#1916)
volmarl Apr 22, 2021
029621b
Run update.sh
docker-library-bot Apr 22, 2021
966e77e
[nats] Release v2.2.2
kozlovic Apr 22, 2021
7b21843
Run update.sh
docker-library-bot Apr 22, 2021
6ece119
Merge pull request #1924 from nats-io/nats_2_2_2
yosifkit Apr 22, 2021
601aa3b
Run update.sh
docker-library-bot Apr 22, 2021
bf474b7
Run update.sh
docker-library-bot Apr 23, 2021
e8c846a
Run update.sh
docker-library-bot Apr 23, 2021
81696a1
Run update.sh
docker-library-bot Apr 23, 2021
c207cae
Run update.sh
docker-library-bot Apr 24, 2021
f6872bb
Friendica: Add SMTP_AUTH env
nupplaphil Apr 24, 2021
eacb705
Run update.sh
docker-library-bot Apr 26, 2021
42ec5e6
Merge pull request #1925 from nupplaphil/friendica
yosifkit Apr 26, 2021
26b25ca
Run update.sh
docker-library-bot Apr 26, 2021
eb08d80
fix broken Telegraf doc link
kelseiv Apr 26, 2021
4345d30
Run update.sh
docker-library-bot Apr 26, 2021
4de2ace
Merge pull request #1929 from kelseiv/patch-4
yosifkit Apr 26, 2021
7f31840
Run update.sh
docker-library-bot Apr 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ci/check-pr-no-readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -Eeuo pipefail
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."

git fetch -q https://github.com/docker-library/docs.git master
if [ -n "$(git diff --numstat FETCH_HEAD...HEAD -- '*/README.md')" ]; then
numstat="$(git diff --numstat FETCH_HEAD...HEAD -- '*/README.md')"
if [ -n "$numstat" ]; then
echo >&2 'Error: at least one repo README.md has changed'
echo >&2 'These files are autogenerated, so it is unnecessary to modify them'
echo >&2 'Please update content.md and docker-library-bot will take care of README.md'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: .ci/check-pr-no-readme.sh
if: ${{ github.event_name == 'pull_request' }}
36 changes: 20 additions & 16 deletions .template-helpers/generate-dockerfile-links-partial.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,24 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
{{- $froms := $.ArchDockerFroms $arch $e -}}

{{- $gitRepo := $e.ArchGitRepo $arch -}}
{{- $gitCommit := $e.ArchGitCommit $arch -}}
{{- $dir := .ArchDirectory $arch -}}
{{- $dockerfile := .ArchFile $arch -}}
{{- $dockerfilePath := eq $dir "." | ternary $dockerfile (join "/" $dir $dockerfile) -}}
{{- $repoUrlBase := $gitRepo | replace "git://" "https://" | trimSuffixes ".git" -}}
{{- $isGitHub := hasPrefix "https://github.com/" $repoUrlBase -}}
{{- $url := hasPrefix "https://github.com/" $repoUrlBase | ternary (join "/" $repoUrlBase "blob" $gitCommit $dockerfilePath) "" -}}
{{- /* handle https://gitlab.../.../... style URLs (by reasonably assuming they're a gitlab instance) */ -}}
{{- $url = $url | ternary $url (hasPrefix "https://gitlab." $repoUrlBase | ternary (join "/" $repoUrlBase "-/blob" $gitCommit $dockerfilePath) "") -}}
{{- /* TODO decide what to do (if anything) about other non-GitHub repos with respect to URL */ -}}

{{- if $i -}}
{{- "\n" -}}
{{- end -}}

- {{- "\t" -}}
{{- if $isGitHub -}} [ {{- end -}}
{{- $dir := .ArchDirectory $arch -}}
{{- $dockerfile := .ArchFile $arch -}}
{{- $dockerfilePath := eq $dir "." | ternary $dockerfile (join "/" $dir $dockerfile) -}}
{{- if $url -}} [ {{- end -}}
` {{- $e.Tags | join "`, `" -}} `
{{- $gitCommit := $e.ArchGitCommit $arch -}}
{{- if $isGitHub -}} ]( {{- $repoUrlBase -}} /blob/ {{- $gitCommit -}} / {{- $dockerfilePath -}} ) {{- end -}}
{{- /* TODO decide what to do (if anything) about non-GitHub repos with respect to URL */ -}}
{{- if $url -}} ]( {{- $url -}} ) {{- end -}}
{{- end -}}
{{- "\n\n" -}}

Expand All @@ -58,18 +60,20 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
{{- $froms := $.ArchDockerFroms $arch $e -}}

{{- $gitRepo := $e.ArchGitRepo $arch -}}
{{- $repoUrlBase := $gitRepo | replace "git://" "https://" | trimSuffixes ".git" -}}
{{- $isGitHub := hasPrefix "https://github.com/" $repoUrlBase -}}

{{- "\t-\t" -}}
{{- if $isGitHub -}} [ {{- end -}}
{{- $gitCommit := $e.ArchGitCommit $arch -}}
{{- $dir := .ArchDirectory $arch -}}
{{- $dockerfile := .ArchFile $arch -}}
{{- $dockerfilePath := eq $dir "." | ternary $dockerfile (join "/" $dir $dockerfile) -}}
{{- $repoUrlBase := $gitRepo | replace "git://" "https://" | trimSuffixes ".git" -}}
{{- $url := hasPrefix "https://github.com/" $repoUrlBase | ternary (join "/" $repoUrlBase "blob" $gitCommit $dockerfilePath) "" -}}
{{- /* handle https://gitlab.../.../... style URLs (by reasonably assuming they're a gitlab instance) */ -}}
{{- $url = $url | ternary $url (hasPrefix "https://gitlab." $repoUrlBase | ternary (join "/" $repoUrlBase "-/blob" $gitCommit $dockerfilePath) "") -}}
{{- /* TODO decide what to do (if anything) about other non-GitHub repos with respect to URL */ -}}

{{- "\t-\t" -}}
{{- if $url -}} [ {{- end -}}
` {{- $e.Tags | first -}} `
{{- $gitCommit := $e.ArchGitCommit $arch -}}
{{- if $isGitHub -}} ]( {{- $repoUrlBase -}} /blob/ {{- $gitCommit -}} / {{- $dockerfilePath -}} ) {{- end -}}
{{- /* TODO decide what to do (if anything) about non-GitHub repos with respect to URL */ -}}
{{- if $url -}} ]( {{- $url -}} ) {{- end -}}

{{- "\n" -}}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion .template-helpers/get-help.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](http://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)
[the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)
2 changes: 1 addition & 1 deletion .template-helpers/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
(image metadata, transfer size, etc)

- **Image updates**:
[official-images PRs with label `library/%%REPO%%`](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2F%%REPO%%)
[official-images repo's `library/%%REPO%%` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2F%%REPO%%)
[official-images repo's `library/%%REPO%%` file](https://github.com/docker-library/official-images/blob/master/library/%%REPO%%) ([history](https://github.com/docker-library/official-images/commits/master/library/%%REPO%%))

- **Source of this description**:
Expand Down
4 changes: 2 additions & 2 deletions .template-helpers/variant-alpine.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## `%%IMAGE%%:<version>-alpine`

This image is based on the popular [Alpine Linux project](http://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
This image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use [musl libc](http://www.musl-libc.org) instead of [glibc and friends](http://www.etalabs.net/compare_libcs.html), so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
103 changes: 54 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This repository contains the image documentation for each of the official images. See [docker-library/official-images](https://github.com/docker-library/official-images) for more information about the program in general.

All Markdown files here are run through [tianon's fork of `markdownfmt`](https://github.com/tianon/markdownfmt) (only forked to add some smaller-diff preference and minor DockerHub-compatibility changes), and verified as formatted correctly via GitHub Actions.
All Markdown files here are run through [tianon's fork of `markdownfmt`](https://github.com/tianon/markdownfmt), and verified as formatted correctly via GitHub Actions.

- [![GitHub CI status badge](https://img.shields.io/github/workflow/status/docker-library/docs/GitHub%20CI/master?label=GitHub%20CI)](https://github.com/docker-library/docs/actions?query=workflow%3A%22GitHub+CI%22+branch%3Amaster)
- [![library update.sh status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/docs/job/library.svg?label=Automated%20library%20update.sh)](https://doi-janky.infosiftr.net/job/docs/job/library/)
Expand All @@ -22,27 +22,34 @@ All Markdown files here are run through [tianon's fork of `markdownfmt`](https:/

1. [What is this?](#what-is-this)
1. [Table of Contents](#table-of-contents)
2. [How do I add a new image's docs](#how-do-i-add-a-new-images-docs)
3. [How do I update an image's docs](#how-do-i-update-an-images-docs)
4. [What are all these files?](#what-are-all-these-files)
2. [How do I update an image's docs](#how-do-i-update-an-images-docs)
3. [How do I add a new image's docs](#how-do-i-add-a-new-images-docs)
4. [Files related to an image's docs](#files-related-to-an-images-docs)
1. [folder `<image name>`](#folder-image-name)
2. [`README.md`](#readmemd)
3. [`content.md`](#contentmd)
4. [`README-short.txt`](#readme-shorttxt)
5. [`logo.png`](#logopng)
6. [`license.md`](#licensemd)
7. [`maintainer.md`](#maintainermd)
8. [`github-repo`](#github-repo)
9. [`user-feedback.md`](#user-feedbackmd)
5. [Files for main Docs repo](#files-for-main-docs-repo)
1. [`update.sh`](#updatesh)
2. [`generate-repo-stub-readme.sh`](#generate-repo-stub-readmesh)
3. [`push.pl`](#pushpl)
4. [`.template-helpers/generate-dockerfile-links-partial.sh`](#template-helpersgenerate-dockerfile-links-partialsh)
5. [`.template-helpers/template.md` and `.template-helpers/user-feedback.md`](#template-helperstemplatemd-and-template-helpersuser-feedbackmd)
6. [folder `<image name>`](#folder-image-name)
7. [`<image name>/README.md`](#image-namereadmemd)
8. [`<image name>/content.md`](#image-namecontentmd)
9. [`<image name>/README-short.txt`](#image-namereadme-shorttxt)
10. [`<image name>/logo.png`](#image-namelogopng)
11. [`<image name>/license.md`](#image-namelicensemd)
12. [`<image name>/maintainer.md`](#image-namemaintainermd)
13. [`<image name>/github-repo`](#image-namegithub-repo)
14. [`<image name>/user-feedback.md`](#image-nameuser-feedbackmd)
5. [Issues and Contributing](#issues-and-contributing)
6. [Issues and Contributing](#issues-and-contributing)

<!-- AUTOGENERATED TOC -->

# How do I update an image's docs

Edit the `content.md` for an image; not the `README.md` as it's auto-generated from the contents of the other files in that repo. To see the changes to the `README.md`, run `./update.sh myimage` from the repo root, but do not add the `README.md` changes to your pull request. See also `markdownfmt.sh` point [below](#how-do-i-add-a-new-images-docs).

After opening your Pull Request the changes will be checked by an automated `markdownfmt.sh` before it can be merged. A common issue is incorrect spacing such as with two lines missing an empty line between them (double-spaced).

# How do I add a new image's docs

- create a folder for my image: `mkdir myimage`
Expand All @@ -59,43 +66,17 @@ Optionally:
- run `./update.sh myimage` to generate `myimage/README.md` for manual review of the generated copy.
**Note:** do not actually commit the `README.md` file; it is automatically generated/committed before being uploaded to Docker Hub.

# How do I update an image's docs

To update `README.md` for a specific image do not edit `README.md` directly. Please edit `content.md` or another appropriate file within the folder. To see the changes, run `./update.sh myimage` from the repo root, but do not add the `README.md` changes to your pull request. See also `markdownfmt.sh` point [above](#how-do-i-add-a-new-images-docs).

# What are all these files?

## `update.sh`

This is the main script used to generate the `README.md` files for each image. The generated file is committed along with the files used to generate it (see below on what customizations are available). Accepted arguments are which image(s) you want to update or no arguments to update all of them.

This script assumes [`bashbrew`](https://github.com/docker-library/official-images/tree/81e90ca8dcec892ade7eb348cba5a4a5d6851e17/bashbrew) is in your `PATH` (for scraping relevant tag information from the library manifest file for each repository).

## `generate-repo-stub-readme.sh`

This is used to generate a simple `README.md` to put in the image's repo. Argument is the name of the image, like `golang` and it then outputs the readme to standard out.

## `push.pl`

This is used by us to push the actual content of the READMEs to the Docker Hub as special access is required to modify the Hub description contents.

## `.template-helpers/generate-dockerfile-links-partial.sh`

This script is used by `update.sh` to create the "Supported tags and respective `Dockerfile` links" section of each generated `README.md` from the information in the [official-images `library/` manifests](https://github.com/docker-library/official-images/tree/master/library).

## `.template-helpers/template.md` and `.template-helpers/user-feedback.md`

These files are the templates used in building the `<image name>/README.md` file, in combination with the individual image's files.
# Files related to an image's docs

## folder `<image name>`

This is where all the partial and generated files for a given image reside, (ex: `golang/`).

## `<image name>/README.md`
## `README.md`

This file is generated using `update.sh`.

## `<image name>/content.md`
## `content.md`

This file contains the main content of your image's long description. The basic parts you should have are a "What Is" section and a "How To" section. See the doc on [Official Repos](https://docs.docker.com/docker-hub/official_repos/#a-long-description) for more information on long description. The issues and contribution section is generated by the script but can be overridden. The following is a basic layout:

Expand All @@ -112,40 +93,64 @@ This file contains the main content of your image's long description. The basic
// make use of subsections as necessary
```

## `<image name>/README-short.txt`
## `README-short.txt`

This is the short description for the docker hub, limited to 100 characters in a single line.

> Go (golang) is a general purpose, higher-level, imperative programming language.

## `<image name>/logo.png`
## `logo.png`

Logo for the contained software. While there are not hard rules on formatting, most existing logos are square or landscape and stay within a few hundred pixels of width.

## `<image name>/license.md`
## `license.md`

This file should contain a link to the license for the main software in the image. Here is an example for `golang`:

```markdown
View [license information](http://golang.org/LICENSE) for the software contained in this image.
```

## `<image name>/maintainer.md`
## `maintainer.md`

This file should contain a link to the maintainers of the Dockerfile.

## `<image name>/github-repo`
## `github-repo`

This file should contain the URL to the GitHub repository for the Dockerfiles that become the images. The file should be in a single line ending in a newline with no extraneous whitespace. Only one GitHub repo per image repository is supported. It is used in generating links. Here is an example for `golang`:

```text
https://github.com/docker-library/golang
```

## `<image name>/user-feedback.md`
## `user-feedback.md`

This file is an optional override of the default `user-feedback.md` for those repositories with different issue and contributing policies.

# Files for main Docs repo

## `update.sh`

This is the main script used to generate the `README.md` files for each image. The generated file is committed along with the files used to generate it (see below on what customizations are available). Accepted arguments are which image(s) you want to update or no arguments to update all of them.

This script assumes [`bashbrew`](https://github.com/docker-library/official-images/tree/81e90ca8dcec892ade7eb348cba5a4a5d6851e17/bashbrew) is in your `PATH` (for scraping relevant tag information from the library manifest file for each repository).

## `generate-repo-stub-readme.sh`

This is used to generate a simple `README.md` to put in the image's repo. Argument is the name of the image, like `golang` and it then outputs the readme to standard out.

## `push.pl`

This is used by us to push the actual content of the READMEs to the Docker Hub as special access is required to modify the Hub description contents.

## `.template-helpers/generate-dockerfile-links-partial.sh`

This script is used by `update.sh` to create the "Supported tags and respective `Dockerfile` links" section of each generated `README.md` from the information in the [official-images `library/` manifests](https://github.com/docker-library/official-images/tree/master/library).

## `.template-helpers/template.md` and `.template-helpers/user-feedback.md`

These files are the templates used in building the `<image name>/README.md` file, in combination with the individual image's files.

# Issues and Contributing

If you would like to make a new Official Image, be sure to follow the [guidelines](https://docs.docker.com/docker-hub/official_repos/).
Expand Down
10 changes: 5 additions & 5 deletions adminer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ WARNING:
[Tim Düsterhus (of the Docker Community)](https://github.com/TimWolla/docker-adminer)

- **Where to get help**:
[the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](http://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)
[the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)

# Supported tags and respective `Dockerfile` links

- [`4.7.7-standalone`, `4.7-standalone`, `4-standalone`, `standalone`, `4.7.7`, `4.7`, `4`, `latest`](https://github.com/TimWolla/docker-adminer/blob/18344428b4b12907f82ab8c03e865094d1ae0663/4/Dockerfile)
- [`4.7.7-fastcgi`, `4.7-fastcgi`, `4-fastcgi`, `fastcgi`](https://github.com/TimWolla/docker-adminer/blob/18344428b4b12907f82ab8c03e865094d1ae0663/4/fastcgi/Dockerfile)
- [`4.8.0-standalone`, `4-standalone`, `standalone`, `4.8.0`, `4`, `latest`](https://github.com/TimWolla/docker-adminer/blob/40a2516bf4f95dc76a839b8b76e4a5eae2378e67/4/Dockerfile)
- [`4.8.0-fastcgi`, `4-fastcgi`, `fastcgi`](https://github.com/TimWolla/docker-adminer/blob/40a2516bf4f95dc76a839b8b76e4a5eae2378e67/4/fastcgi/Dockerfile)

# Quick reference (cont.)

Expand All @@ -40,7 +40,7 @@ WARNING:
(image metadata, transfer size, etc)

- **Image updates**:
[official-images PRs with label `library/adminer`](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Fadminer)
[official-images repo's `library/adminer` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fadminer)
[official-images repo's `library/adminer` file](https://github.com/docker-library/official-images/blob/master/library/adminer) ([history](https://github.com/docker-library/official-images/commits/master/library/adminer))

- **Source of this description**:
Expand Down Expand Up @@ -116,7 +116,7 @@ To load plugins you can pass a list of filenames in `ADMINER_PLUGINS`:
$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='tables-filter tinymce' adminer
```

If a plugin *requires* parameters to work correctly you will need to add a custom file to the container:
If a plugin *requires* parameters to work correctly instead of adding the plugin to `ADMINER_PLUGINS`, you need to add a custom file to the container:

```console
$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='login-servers' adminer
Expand Down
Loading