Skip to content
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: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ export ${BUILD_VER_ENV}

# 22.04 - jammy
# 24.04 - noble
# 26.04 - resolute
UBUNTU_VERSION ?= jammy
UBUNTU_VERSION_NUMBER = 22.04
ifeq (${UBUNTU_VERSION}, noble)
UBUNTU_VERSION_NUMBER = 24.04
endif
ifeq (${UBUNTU_VERSION}, resolute)
UBUNTU_VERSION_NUMBER = 26.04
endif

DEBIAN_VERSION := "1.3.0"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For comprehensive documentation including installation, configuration, CDI, Swar

## Requirements

- Ubuntu 22.04 or 24.04, or RHEL/CentOS 9
- Ubuntu 22.04, 24.04, or 26.04, or RHEL/CentOS 9
- Docker version 25 or later
- All `amd-ctk runtime configure` commands should be run as root/sudo

Expand Down
2 changes: 1 addition & 1 deletion docs/container-runtime/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Compatibility Matrix
- Supported OS
* - 1.3.0
- 25.0+
- Ubuntu 22.04, Ubuntu 24.04
- Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04
* - 1.2.0
- 25.0+
- Ubuntu 22.04, Ubuntu 24.04
Expand Down
1 change: 1 addition & 0 deletions docs/container-runtime/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Supported Operating Systems
---------------------------
- Ubuntu 22.04 LTS (Jammy Jellyfish)
- Ubuntu 24.04 LTS (Noble Numbat)
- Ubuntu 26.04 LTS (Resolute Raccoon)
- RHEL 9.5

.. note::
Expand Down
6 changes: 6 additions & 0 deletions tools/deb/base-image/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ sysctl -w vm.max_map_count=262144
if [[ -n "${USER_NAME:-}" && -n "${USER_UID:-}" && -n "${USER_GID:-}" ]]; then
echo "Creating user ${USER_NAME} with UID=${USER_UID}, GID=${USER_GID}..."

existing_user="$(getent passwd "$USER_UID" | cut -d: -f1)" || true
if [[ -n "$existing_user" && "$existing_user" != "$USER_NAME" ]]; then
echo "Removing existing user $existing_user with UID=$USER_UID..."
userdel -r "$existing_user" || userdel "$existing_user"
fi

if ! getent group "$USER_GID" >/dev/null; then
groupadd -g "$USER_GID" "$USER_NAME"
fi
Expand Down