jenkinsci / docker

Docker official jenkins repo
https://hub.docker.com/r/jenkins/jenkins
MIT License
6.73k stars 4.55k forks source link

Install git-lfs from tar.gz instead of packagecloud #1954

Closed MarkEWaite closed 6 days ago

MarkEWaite commented 1 week ago

Install git-lfs from tar.gz instead of packagecloud

Install fails from packagecloud on one or more of the required platforms

Use tar.gz for Debian because it is not available from packagecloud.

Fixes #1953

Testing done

Confirmed that the container builds complete successfully and that the git lfs version output reports 3.6.0 as expected.

Submitter checklist

lemeurherveCB commented 1 week ago

Suggested corresponding updatecli manifest (can be added later):

./updatecli/updatecli.d/git-lfs.yaml ``` --- name: Bump git-lfs version scms: default: kind: github spec: user: "{{ .github.user }}" email: "{{ .github.email }}" owner: "{{ .github.owner }}" repository: "{{ .github.repository }}" token: "{{ requiredEnv .github.token }}" username: "{{ .github.username }}" branch: "{{ .github.branch }}" sources: lastReleaseVersion: kind: githubrelease name: Get the latest git-lfs release version spec: owner: "git-lfs" repository: "git-lfs" token: "{{ requiredEnv .github.token }}" username: "{{ .github.username }}" versionfilter: kind: semver transformers: - trimprefix: v targets: updateVersion: name: "Update `git-lfs` version in debian dockerfiles" sourceid: lastReleaseVersion kind: dockerfile spec: files: - "debian/bookworm/hotspot/Dockerfile" - "debian/bookworm/hotspot/Dockerfile" instruction: keyword: "ARG" matcher: "GIT_LFS_VERSION" scmid: default actions: default: kind: github/pullrequest title: Bump `git-lfs` version to {{ source "lastReleaseVersion" }} scmid: default spec: labels: - dependencies - git-lfs ```