dotCMS / dotCMS/core

[CHORE]: update ubuntu for underlying base image

Open
#32,313 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Platform Type : CI/CD Type : Task
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

got a fun one here - the base image that we use for all our docker images, Ubuntu 20.04 is now officially out of support. We need to update to Ubuntu 24.04, which seems to work out of the box. The issue is that with our pipelines, I don't see an easy way to do that in a branch.

I've already built the ubuntu-24.04 java-base image dotcms/java-base:24.04_21.0.7-ms, but without changing pipeline env vars or scripts, I don't see how force our main image to use Ubuntu 24.04 or to use the new base image without overwriting the existing java-base:21.07-ms . I might be missing something or did we get too clever with the build pipelines?

Internal Slack Message

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the pipeline environment variables and scripts that select the current java-base:21.07-ms image, then compare that path with the built dotcms/java-base:24.04_21.0.7-ms image. Done means the main Docker images build from Ubuntu 24.04 through a reproducible pipeline path without overwriting the existing base-image tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, ubuntu
Domain
ci-cd, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.