[FOLIO-3487] folioci/alpine-jre-openjdk11: apk upgrade for zlib-1.2.12-r1 fixing ZipException Created: 30/Apr/22  Updated: 09/Jun/22  Resolved: 01/May/22

Status: Closed
Project: FOLIO
Components: Continuous Integration
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Julian Ladisch Assignee: David Crossley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-3500 Remove folio-java-docker workarounds ... Closed
relates to FOLIO-3480 folioci/alpine-jre-openjdk11:1.3.1 Zi... Closed
relates to FOLIO-3484 Rebuild all released alpine-jre-openj... Closed
Sprint: DevOps Sprint 138
Development Team: FOLIO DevOps
RCA Group: Related dependency upgrade

 Description   

See FOLIO-3480 for details of the "ZipException: Corrupt GZIP trailer" bug in zlib package.

The stable Alpine branch 3.15 finally got zlib 1.2.12-r1 with the fix:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33688

However, as eclipse-temurin:11-jre-alpine hasn't been upgraded
to the latest zlib version it still contains the buggy
zlib 1.2.12-r0.

Therefore we need to manually run apk upgrade.

Testing the Dockerfile after applying this pull request by running

 docker build -t x .
 docker run --rm --entrypoint '/bin/sh' x -c 'apk list zlib' 

yields

 zlib-1.2.12-r1 x86_64 {zlib} (Zlib) [installed] 

with the expected result.



 Comments   
Comment by Julian Ladisch [ 30/Apr/22 ]

David Crossley: Please merge https://github.com/folio-org/folio-tools/pull/217 and rebuild folioci/alpine-jre-openjdk11.

Comment by David Crossley [ 01/May/22 ]

This is now merged, built, verified, and deployed as 1.3.4 and latest

Thanks again Julian Ladisch

Generated at Thu Feb 08 23:28:30 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.