Skip to content

CentOS 6 repo EOL makes yum unusable. #23

@hmacdope

Description

@hmacdope

As detailed in https://github.com/FoldingAtHome/openmm-core/issues/432 and https://github.com/FoldingAtHome/openmm-core/issues/364 the Centos6 EOL makes this image mostly unusable as you can't use yum

Three possible solutions

  1. As suggested by @dotsdl Build a new jchodera/omnia-linux-anvil:texlive18-cuda92 based on the image used by conda-forge currently, based on CentOS 8. Then, use it in place of the old image for Linux builds.

  2. We can patch the repos in the Dockerfile

RUN sed -i 's/#baseurl/baseurl/g' /etc/yum.repos.d/CentOS-* \
  && sed -i 's/mirrorlist=/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
  && sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/CentOS-*
  && sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf
  1. Stop using these all together in favour of official conda-forge cuda images

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions