6795 |
10 Aug 22 |
nicklas |
Bootstrap: library |
6795 |
10 Aug 22 |
nicklas |
From: library/default/rockylinux:9.0 |
6795 |
10 Aug 22 |
nicklas |
3 |
|
6795 |
10 Aug 22 |
nicklas |
%post |
6795 |
10 Aug 22 |
nicklas |
yum -y install glibc-langpack-en libxcrypt-compat |
7103 |
11 Apr 23 |
nicklas |
yum -y install findutils wget unzip tar bzip2 hostname which |
6795 |
10 Aug 22 |
nicklas |
7 |
|
7103 |
11 Apr 23 |
nicklas |
## Minconda 23.1 with Python 3.10 |
6795 |
10 Aug 22 |
nicklas |
mkdir -p /download |
7272 |
30 Jun 23 |
nicklas |
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1-0-Linux-x86_64.sh -O /download/miniconda.sh |
6795 |
10 Aug 22 |
nicklas |
11 |
|
6795 |
10 Aug 22 |
nicklas |
bash /download/miniconda.sh -b -p /miniconda |
6795 |
10 Aug 22 |
nicklas |
PATH=/miniconda/bin:$PATH |
6795 |
10 Aug 22 |
nicklas |
conda config --add channels defaults |
6795 |
10 Aug 22 |
nicklas |
conda config --add channels bioconda |
6795 |
10 Aug 22 |
nicklas |
conda config --add channels conda-forge |
6795 |
10 Aug 22 |
nicklas |
17 |
|
6795 |
10 Aug 22 |
nicklas |
18 |
|
6795 |
10 Aug 22 |
nicklas |
%environment |
6795 |
10 Aug 22 |
nicklas |
export PATH=/miniconda/bin:$PATH |
6795 |
10 Aug 22 |
nicklas |
21 |
|
6795 |
10 Aug 22 |
nicklas |
%test |
6795 |
10 Aug 22 |
nicklas |
echo "Host : `hostname 2>&1`" |
6795 |
10 Aug 22 |
nicklas |
echo "OS : `cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2`" |
6795 |
10 Aug 22 |
nicklas |
echo "Miniconda : `conda --version 2>&1`" |
6795 |
10 Aug 22 |
nicklas |
echo "Python : `python --version 2>&1`" |
6795 |
10 Aug 22 |
nicklas |
27 |
|
6795 |
10 Aug 22 |
nicklas |
%labels |
6795 |
10 Aug 22 |
nicklas |
Author Nicklas Nordborg |
6795 |
10 Aug 22 |
nicklas |
30 |
|
6795 |
10 Aug 22 |
nicklas |
%help |
7272 |
30 Jun 23 |
nicklas |
A Rocky 9.0 installation with Miniconda 23.3. |
6795 |
10 Aug 22 |
nicklas |
33 |
|