Skip to content
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

In Alpine 3.21 bump llvm version #1299

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

yosifkit
Copy link
Member

@yosifkit yosifkit commented Dec 5, 2024

Fixes #1296

Also drops Alpine 3.19 Now just the llvm bump part

This should be purely additive to #1298, so we can merge that first once the Alpine images are available for testing.

@yosifkit yosifkit changed the title Add Alpine 3.21, bump llvm version In Alpine 3.21 bump llvm version Dec 6, 2024
{{ def llvmver: "15" -}}
{{
def llvmver:
if alpine_version | split(".")[1] | tonumber < 21 then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the implicit 3.x assumption here 😅 Maybe something like this?

Suggested change
if alpine_version | split(".")[1] | tonumber < 21 then
if alpine_version | split(".") | map(tonumber) < [3, 21] then
$ jq -rnc '
	"2.22", "3.20", "3.21", "3.22", "4.0",
	"2.22.1", "3.20.1", "3.21.1", "3.22.1", "4.0.1"
	| "\(.): \(split(".") | map(tonumber) < [3, 21])"
'
2.22: true
3.20: true
3.21: false
3.22: false
4.0: false
2.22.1: true
3.20.1: true
3.21.1: false
3.22.1: false
4.0.1: false

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's better.

@tianon tianon merged commit 1577814 into docker-library:master Dec 6, 2024
38 checks passed
@tianon tianon deleted the alpine branch December 6, 2024 21:45
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 7, 2024
Changes:

- docker-library/postgres@1577814: Merge pull request docker-library/postgres#1299 from infosiftr/alpine
- docker-library/postgres@17818f2: In Alpine 3.21 bump llvm version
- docker-library/postgres@0f542bc: Merge pull request docker-library/postgres#1298 from paolobarbolini/alpine3.21
- docker-library/postgres@1075ab7: Update Alpine to 3.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update DOCKER_PG_LLVM_DEPS for Alpine 3.21
2 participants