From af30859077393b36e6f6ddf526c86932282f4a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Tue, 21 Jun 2022 16:06:58 +0200 Subject: [PATCH] Fix zip CRC error on startup in Alpine image (#2071) Update docker base image to Alpine 3.16.0. This fixes https://github.com/scm-manager/scm-manager/issues/2053. In Alpine 3.16.0 zlib is updated to 1.2.12-r1 with this fix: https://git.alpinelinux.org/aports/commit/main/zlib?id=6754a9005594de4243aad9b2744546971078c6c7 This is related to the following bug report in Alpine: https://bugs.archlinux.org/task/74371 --- gradle/changelog/alpine_3.16.0 | 2 ++ scm-packaging/docker/Dockerfile.alpine | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 gradle/changelog/alpine_3.16.0 diff --git a/gradle/changelog/alpine_3.16.0 b/gradle/changelog/alpine_3.16.0 new file mode 100644 index 0000000000..e696ed7d86 --- /dev/null +++ b/gradle/changelog/alpine_3.16.0 @@ -0,0 +1,2 @@ +- type: fixed + description: Zip CRC error on startup in Alpine image ([#2071](https://github.com/scm-manager/scm-manager/pull/2071)) diff --git a/scm-packaging/docker/Dockerfile.alpine b/scm-packaging/docker/Dockerfile.alpine index 585ba433c5..be2adebfc0 100644 --- a/scm-packaging/docker/Dockerfile.alpine +++ b/scm-packaging/docker/Dockerfile.alpine @@ -23,7 +23,7 @@ # # Create minimal java version -FROM alpine:3.15.4 as jre-build +FROM alpine:3.16.0 as jre-build RUN set -x \ && apk add --no-cache openjdk11-jdk openjdk11-jmods \ @@ -39,7 +39,7 @@ RUN set -x \ # --- # SCM-Manager runtime -FROM alpine:3.15.4 as runtime +FROM alpine:3.16.0 as runtime ENV SCM_HOME /var/lib/scm ENV CACHE_DIR /var/cache/scm/work