opendevstack / opendevstack/ods-quickstarters

ubi8 docker image for Terraform installs packages from centos when there are better options in rh repositories

Open
#813 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

invalid
Dominant language
Shell
Stars
39
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When generating ubi8 docker images, we are installing packages from centos instead of using the ones available at Red Hat.
Although most of the times we do this it is not really a problem, if they are incompatible in some way, we'll suffer that incompatibility.

To Reproduce
Steps to reproduce the behavior:
Just generate the docker image in folder
common/jenkins-agents/terraform/docker/Dockerfile.ubi8

Expected behavior
Packages should be installed from RH repositories when available

Screenshots
If applicable, add screenshots to help explain your problem.

Affected version (please complete the following information):

  • OpenDevStack [e.g. 4.x, master]

Log Output (ensure to remove any confidential information like tokens, project names, etc.

Additional context
Add any other context about the problem here.

When doing this, take into account that some packages are not available at Red Hat repositories, so we might need to determine which ones need to be installed from Centos repositories.

Contributor guide

No contributing guide indexed for this repository

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 with common/jenkins-agents/terraform/docker/Dockerfile.ubi8 and generate the UBI8 Docker image to identify packages currently sourced from CentOS. Check which of those packages are available from Red Hat repositories, retaining CentOS sources only where necessary. Done means the image builds successfully and uses Red Hat packages whenever available.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, terraform
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.