Sep 212022
 

This post is a bit of an after the event one!

podman run -it ubi8/ubi

yum update

yum group install “Development Tools”

yum clean all

cat <<EOF > /etc/yum.repos.d/conda.repo 
[conda]
name=Conda 
baseurl=https://repo.anaconda.com/pkgs/misc/rpmrepo/conda
enabled=1 
gpgcheck=1 
gpgkey=https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc 
EOF 

yum update

yum install conda

yum clean all

source /opt/conda/etc/profile.d/conda.sh
conda -V 

# conda update -n base -c defaults conda <not working with rhel8.1 yet, suspect python/gcc issue

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda create -n <environment name>

My default image is called conda-4-7-10 and available at quay.io

Ok updated to 4-8-4 and we have rid of the dodgy asc gpg issue, image should be up later. Should be good to pull packages after this into the container

podman push – move the container image to quay.io

podman login quay.io

username

password

podman push quay.io/<user>/<repo>/<name>

 Posted by at 2:10 pm