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

Fixes #35593 - Use CentOS 8 Stream for container #9604

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Jan 27, 2023

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 36be84a 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.

(cherry picked from commit 060eb9b)

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 36be84a
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.

(cherry picked from commit 060eb9b)
@theforeman-bot
Copy link
Member

Issues: #35593

@theforeman-bot theforeman-bot added Stable branch PRs that are opened against a stable branch. Usually a cherry pick and removed Not yet reviewed labels Jan 28, 2023
@ekohl ekohl merged commit 84813d8 into theforeman:3.5-stable Jan 28, 2023
@evgeni evgeni deleted the 3.5-stable-container branch January 28, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stable branch PRs that are opened against a stable branch. Usually a cherry pick
Projects
None yet
3 participants