Browse Source

upgrade debian base image from v11.7 buster to v12.0 bookworm including upgrade of git, git-annex & openssh-server package; pipeline: build image for arm64 instead of armv7 (git-annex debian package unavailable)

Fabian Peter Hammerle 10 months ago
parent
commit
130673aadc
2 changed files with 14 additions and 5 deletions
  1. 3 1
      .github/workflows/container-image.yml
  2. 11 4
      Dockerfile

+ 3 - 1
.github/workflows/container-image.yml

@@ -21,6 +21,8 @@ jobs:
     # https://github.com/marketplace/actions/build-and-push-docker-images
     - uses: docker/build-push-action@v4.1.1
       with:
+        # git-annex package not available for armhf:
+        # https://web.archive.org/web/20230630055644/https://packages.debian.org/bookworm/git
         platforms: |
           linux/amd64
-          linux/arm/v7
+          linux/arm64

+ 11 - 4
Dockerfile

@@ -1,9 +1,16 @@
-FROM docker.io/debian:11.7-slim
+FROM docker.io/debian:12.0-slim
 
 ARG GITOLITE_PACKAGE_VERSION=3.6.12-1
-ARG GIT_ANNEX_PACKAGE_VERSION=8.20210223-2
-ARG GIT_PACKAGE_VERSION=1:2.30.2-1+deb11u2
-ARG OPENSSH_SERVER_PACKAGE_VERSION=1:8.4p1-5+deb11u1
+# https://git-annex.branchable.com/news/
+# https://git.joeyh.name/index.cgi/git-annex.git/refs/
+# https://salsa.debian.org/haskell-team/git-annex/-/blob/master/CHANGELOG
+# https://salsa.debian.org/haskell-team/git-annex/-/blob/master/debian/changelog
+ARG GIT_ANNEX_PACKAGE_VERSION=10.20230126-3
+# https://github.com/git/git/tree/master/Documentation/RelNotes
+ARG GIT_PACKAGE_VERSION=1:2.39.2-1.1
+# https://www.openssh.com/releasenotes.html
+# https://salsa.debian.org/ssh-team/openssh/-/blob/master/debian/changelog
+ARG OPENSSH_SERVER_PACKAGE_VERSION=1:9.2p1-2
 ARG TINI_PACKAGE_VERSION=0.19.0-1
 ARG USER=git
 ARG GITOLITE_HOME_PATH=/var/lib/gitolite