-
Notifications
You must be signed in to change notification settings - Fork 481
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Problem Statement
The dotcms/dotcms-test Docker image build fails with exit code 100 when apt install is run in Stage 2 of the Dockerfile (dotCMS/src/main/docker/original/Dockerfile). The package libapr1 was removed from Ubuntu 24.04 Noble as part of the 64-bit time_t transition and replaced by libapr1t64. The build was previously passing due to Docker layer caching masking the issue — once the cache is cold (new CI runner, clean build), the error surfaces.
Platform: Docker build / CI
Affected file: dotCMS/src/main/docker/original/Dockerfile (Stage 2, FROM ubuntu:24.04)
Steps to Reproduce
- Perform a clean Docker build (no cached layers) of the
dotcms-coreMaven module - Run:
./mvnw install -pl :dotcms-core -DskipTests - Observe the Docker build fail with:
The command '/bin/sh -c apt update && apt upgrade -y && apt install -y --no-install-recommends ... libapr1 ...' returned a non-zero code: 100
Acceptance Criteria
-
libapr1replaced withlibapr1t64indotCMS/src/main/docker/original/Dockerfile - Docker image builds successfully from a cold cache on Ubuntu 24.04
- No regression in container runtime behavior (Tomcat Native / APR still functional)
dotCMS Version
Latest from main branch
Severity
High - Major functionality broken
Links
NA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done