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

Dockerfile build failures due to deprecated centos image #1438

Open
n-jay opened this issue Jul 31, 2024 · 2 comments
Open

Dockerfile build failures due to deprecated centos image #1438

n-jay opened this issue Jul 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@n-jay
Copy link
Contributor

n-jay commented Jul 31, 2024

Describe the bug
Dockerfile builds of components (rqd, cuesubmit, cuegui) fail due to CentOS 7 reaching EOL in June 30th 2024.

To Reproduce
Steps to reproduce the behavior:
Run Dockerfile builds of components with CentOS 7 as base image.

Expected behavior
Successful build of docker image of respective component.

Screenshots
image

Selection_283

Version Number
0.34

Additional context
Discovered as it results in packaging-pipeline failing.
Should be updated to a CentOS alternative.

@n-jay n-jay added the bug Something isn't working label Jul 31, 2024
@lithorus
Copy link
Contributor

lithorus commented Jul 31, 2024

We're using this at work :

FROM centos:7
RUN sed -i s/mirror.centos.org/linuxsoft.cern.ch\\/centos-vault/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
RUN yum group install -y "Development Tools"
RUN sed -i s/mirror.centos.org/linuxsoft.cern.ch\\/centos-vault/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
RUN yum install -y cmake centos-release-scl
RUN sed -i s/mirror.centos.org/linuxsoft.cern.ch\\/centos-vault/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
RUN yum install -y devtoolset-9

Edit:
I should note that we recently (yesterday) switched to the linuxsoft.cern.ch mirror because there were problems with the vault.centos.org repo.

@n-jay n-jay changed the title Dockerfile build failures due to deprecated centos image RQD Dockerfile build failures due to deprecated centos image Aug 8, 2024
@n-jay n-jay changed the title RQD Dockerfile build failures due to deprecated centos image Dockerfile build failures due to deprecated centos image Aug 8, 2024
@n-jay
Copy link
Contributor Author

n-jay commented Aug 13, 2024

It seems like this will require updating the obsolete image on Dockerhub as well
https://hub.docker.com/r/opencue/rqd

Encountering issues while building Blender image which uses RQD Dockerhub image as the base.
Selection_288

DiegoTavares pushed a commit that referenced this issue Aug 14, 2024
**Link the Issue(s) this Pull Request is related to.**
Issue #1438

**Summarize your change.**
Update the Dockerfile base image and perform related changes due to
Centos 7 reaching
[EOL](https://www.redhat.com/en/topics/linux/centos-linux-eol) on June
30th.

Encountered while updating packaging pipeline with integrations related
to PR #1309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants