Feature #35593
Change container image to CentOS 8 Stream
Status:
Closed
Priority:
Normal
Assignee:
Category:
Development tools
Target version:
Difficulty:
Triaged:
Yes
Description
Currently the container image is based on Fedora 33, but that's long EOL. Current Fedora versions have Ruby 3.1, but we're unable to use that. Changing it to CentOS 8 Stream is the closest match and also close to what we run in production.
Associated revisions
Refs #35593 - call dnf upgrade to keep the container uptodate
History
#1
Updated by The Foreman Bot 6 months ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9450 added
#2
Updated by The Foreman Bot 3 months ago
- Fixed in Releases 3.6.0 added
#3
Updated by Ewoud Kohl van Wijngaarden 3 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|060eb9b37c6d59f0a5b41a32bd7f3d2bd7a632b9.
#4
Updated by The Foreman Bot 2 months ago
- Pull request https://github.com/theforeman/foreman/pull/9604 added
#5
Updated by Evgeni Golov 2 months ago
- Target version set to 3.5.2
#6
Updated by The Foreman Bot 2 months ago
- Fixed in Releases 3.5.2 added
#7
Updated by The Foreman Bot 2 months ago
- Pull request https://github.com/theforeman/foreman/pull/9606 added
#8
Updated by The Foreman Bot 2 months ago
- Pull request https://github.com/theforeman/foreman/pull/9607 added
#9
Updated by Ewoud Kohl van Wijngaarden about 1 month ago
- Triaged changed from No to Yes
Fixes #35593 - Use CentOS 8 Stream for container
Currently the container image is based on Fedora 33, but that's long
EOL. Current Fedora versions have Ruby 3.1, but we're unable to use
that. Changing it to CentOS 8 Stream is the closest match and also close
to what we run in production.
It also updates to PostgreSQL 12 which we use in production.
To make docker-compose.yml compatible with podman-compose the port is
changed to a string.
It should be noted that since 36be84a1cfae3c207f05975ba4cac8f448495a6f
no assets are served anymore so effectively the UI can no longer be
used. It now uses the RAILS_SERVE_STATIC_FILES env var that the
container already set.