Skip to content

Commit 7027147

Browse files
authored
Merge branch 'docker-library:master' into feature/add_zulu
2 parents 9d008a4 + 3934d5b commit 7027147

File tree

584 files changed

+10875
-9471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

584 files changed

+10875
-9471
lines changed

.ci/check-metadata.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
set -Eeuo pipefail
3+
4+
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."
5+
6+
# metadata.sh takes directories with a 'metadata.json' in them
7+
# metadata.json is expected in every repo
8+
# "." so that the canonical source metadata.json is checked too
9+
./metadata.sh */ .

.ci/check-ymlfmt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -Eeuo pipefail
33

44
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."
55

6-
files="$(find -name '*.yml' -not -path './.github/*')"
6+
files="$(find '(' -name '*.yml' -o -name '*.yaml' ')' -not -path './.github/*')"
77
need=()
88
needdiff=
99
for f in $files; do

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,35 @@ jobs:
1919
markdownfmt:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- run: docker pull tianon/markdownfmt
2424
- run: .ci/check-markdownfmt.sh
2525
ymlfmt:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- run: docker pull tianon/ymlfmt
3030
- run: .ci/check-ymlfmt.sh
3131
short:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
- run: .ci/check-short.sh
3636
required-files:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040
- run: .ci/check-required-files.sh
4141
no-readme:
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545
with:
4646
fetch-depth: 0
4747
- run: .ci/check-pr-no-readme.sh
4848
if: ${{ github.event_name == 'pull_request' }}
49+
metadata:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v4
53+
- run: .ci/check-metadata.sh

.template-helpers/compose.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
... via [`docker-compose`](https://github.com/docker/compose)
1+
... via [`docker compose`](https://github.com/docker/compose)
22

3-
Example `docker-compose.yml` for `%%REPO%%`:
3+
Example `compose.yaml` for `%%REPO%%`:
44

5-
%%COMPOSE-YML%%
5+
%%COMPOSE-YAML%%

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ -z "${BASHBREW_LIBRARY:-}" ]; then
1313
repo="https://github.com/docker-library/official-images/raw/master/library/$repo"
1414
fi
1515

16-
if [ -n "$ARCH_SPECIFIC_DOCS" ] && archTags="$(bashbrew cat --format '{{ range .Entries }}{{ if .HasArchitecture arch }}{{ .Tags | first }}{{ "\n" }}{{ end }}{{ end }}' "$repo")" && [ -z "$archTags" ]; then
16+
if [ -n "$ARCH_SPECIFIC_DOCS" ] && archTags="$(bashbrew list --uniq --arch-filter "$repo")" && [ -z "$archTags" ]; then
1717
echo "**WARNING:** THIS IMAGE *IS NOT SUPPORTED* ON THE \`$BASHBREW_ARCH\` ARCHITECTURE"
1818
exit
1919
fi

.template-helpers/generate-dockerfile-links-partial.tmpl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
3333
{{- $url = $url | ternary $url (hasPrefix "https://git.launchpad.net/" $repoUrlBase | ternary (print $repoUrlBase "/tree/" $dockerfilePath "?h=" ($e.ArchGitFetch $arch) "&id=" $gitCommit) "") -}}
3434
{{- /* TODO decide what to do (if anything) about other non-GitHub repos with respect to URL */ -}}
3535

36-
{{- if $i -}}
37-
{{- "\n" -}}
38-
{{- end -}}
39-
4036
- {{- "\t" -}}
4137
{{- if $url -}} [ {{- end -}}
4238
` {{- $e.Tags | join "`, `" -}} `
4339
{{- if $url -}} ]( {{- $url -}} ) {{- end -}}
40+
41+
{{- "\n\n" -}}
4442
{{- end -}}
45-
{{- "\n\n" -}}
4643

4744
{{- if (len $sharedTagGroups) -}}
4845
{{- "## Shared Tags\n\n" -}}
@@ -53,7 +50,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
5350
{{- if (len $entries) -}}
5451
{{- "-\t`" -}}
5552
{{ .SharedTags | join "`, `" }}
56-
{{- "`:\n" -}}
53+
{{- "`:\n\n" -}}
5754

5855
{{- range $i, $e := $entries -}}
5956
{{- $arch := $archSpecific | ternary arch ($e.HasArchitecture arch | ternary arch ($e.Architectures | first)) -}}
@@ -81,6 +78,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
8178

8279
{{- "\n" -}}
8380
{{- end -}}
81+
{{- "\n" -}}
8482
{{- end -}}
8583
{{- end -}}
8684
{{- "\n" -}}

.template-helpers/issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[%%GITHUB-REPO%%/issues](%%GITHUB-REPO%%/issues)
1+
[%%GITHUB-REPO%%/issues](%%GITHUB-REPO%%/issues?q=)

.template-helpers/stack.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
## `%%IMAGE%%:<version>-windowsservercore`
22

3-
This image is based on [Windows Server Core (`microsoft/windowsservercore`)](https://hub.docker.com/r/microsoft/windowsservercore/). As such, it only works in places which that image does, such as Windows 10 Professional/Enterprise (Anniversary Edition) or Windows Server 2016.
3+
This image is based on [Windows Server Core (`mcr.microsoft.com/windows/servercore`)](https://hub.docker.com/r/microsoft/windows-servercore). As such, it only works in places which that image does, such as Windows 10 Professional/Enterprise (Anniversary Edition) or Windows Server 2016.
44

55
For information about how to get Docker running on Windows, please see the relevant "Quick Start" guide provided by Microsoft:
66

7-
- [Windows Server Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server)
8-
- [Windows 10 Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10)
7+
- [Windows Containers Quick Start](https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=dockerce)

0 commit comments

Comments
 (0)