Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Centos 7 EOL blog post #2937

Merged
merged 8 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/blog-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# shellcheck disable=2043
for added_file in ${{ steps.files.outputs.added }}; do
if [[ ${added_file} =~ ^content/blog.*.md ]]; then
blog_date=$(grep 'date:' "${added_file}" | sed -n -e 's/^.*date: //p' | tr -d '"')
blog_date=$(grep '^date:' "${added_file}" | sed -n -e 's/^.*date: //p' | tr -d '"')
# Return difference in days between today and blog date
diff=$(( ($(date +%s) - $(date --date "${blog_date}" +%s)) / (60*60*24) ))
if [[ ${diff} -gt 0 ]]; then
Expand All @@ -53,6 +53,8 @@ jobs:
"security"
"announcement"
"release-notes"
"docker"
"containers"
)
invalid_tags=()
IFS=", " read -r -a tag_array <<< "$tags"
Expand Down
66 changes: 66 additions & 0 deletions content/blog/removal-of-centos7-eclipse-temurin-images/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: "Important Update: Removal of CentOS 7 Eclipse Temurin Images"
date: "2024-07-04T12:00:00+00:00"
author: georgeadams
description: We would like to inform our users that as of the next PSU release on July 16th, Eclipse Temurin images with the CentOS 7 base will be removed.
tags:
- "temurin"
- "docker"
- "containers"
---

We would like to inform our users that as of July 16th, Eclipse Temurin images with the CentOS 7 base will be removed. This decision comes in light of CentOS 7 reaching its End of Life (EOL) on June 30th, 2024. No further updates or support will be provided for CentOS 7, and to ensure the continued security and stability of your applications, we recommend migrating to the UBI9-minimal images.

## Key Changes

- **CentOS 7 EOL**: As CentOS 7 has reached its EOL, it will no longer receive updates or support.
- **Removal Date**: CentOS 7 based Eclipse Temurin images will be removed in the PSU release on July 16th.
- **New Base Image**: All users should migrate to the ubi9-minimal images.

### Migration Guide

To assist with this transition, here is a simple migration guide. If you are currently using an image like `17-jdk-centos7`, you should update your Dockerfile to use `17-jdk-ubi9-minimal`.

#### Example Migration

**Old Dockerfile using CentOS 7:**

```Dockerfile
FROM eclipse-temurin:17-jdk-centos7

# Your application setup here
```

**New Dockerfile using UBI9-minimal:**

```Dockerfile
FROM eclipse-temurin:17-jdk-ubi9-minimal

# Your application setup here
```

### Important Note on Package Manager

When migrating to UBI9-minimal, note that the package manager differs from CentOS 7. Instead of yum, you will need to use microdnf. While we encourage the transition to UBI9-minimal, it is important to note that there may be fewer packages available in the UBI9-minimal repositories compared to CentOS 7. This could potentially impact the migration of some applications. We recommend reviewing your application's dependencies and verifying the availability of required packages in UBI9-minimal ahead of the migration.

#### Example Package Installation

**Using yum in CentOS 7:**

```Dockerfile
RUN yum install -y some-package
```

**Using microdnf in UBI9-minimal:**

```Dockerfile
RUN microdnf install -y some-package
```

### Resources

For more details on the End of Life for CentOS 7, you can refer to the official announcement by Red Hat: [CentOS Linux EOL](https://www.redhat.com/en/topics/linux/centos-linux-eol).

If you have any questions or need further assistance with the migration, please create a [GitHub issue](https://github.com/adoptium/containers/issues/new).

Thank you for your understanding and cooperation in ensuring a smooth transition.
Loading