Skip to content
Snippets Groups Projects
Commit 74d5fea7 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlabci/setup.sh

parent 3c306412
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
apt-get update && apt-get install -y wget git \ #apt-get update && apt-get install -y wget git \
build-essential \ # build-essential \
squashfs-tools \ # squashfs-tools \
libtool \ # libtool \
autotools-dev \ # autotools-dev \
libarchive-dev \ # libarchive-dev \
automake \ # automake \
autoconf \ # autoconf \
uuid-dev \ # uuid-dev \
libssl-dev \ # libssl-dev \
python-pip # python-pip
#
#
## Somehow sed cant find /etc/sudoers ### Somehow sed cant find /etc/sudoers
#sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers ##sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
#
# Check Python ## Check Python
#
echo "Python Version:" #echo "Python Version:"
python --version #python --version
pip install sregistry[all] #pip install sregistry[all]
sregistry version #sregistry version
#
echo "sregistry Version:" #echo "sregistry Version:"
#
# Install Singularity ## Install Singularity
#
cd /tmp && \ #cd /tmp && \
rm -rf singularity && \ # rm -rf singularity && \
git clone -b vault/release-2.5 https://www.github.com/sylabs/singularity.git # git clone -b vault/release-2.5 https://www.github.com/sylabs/singularity.git
cd singularity && \ # cd singularity && \
./autogen.sh && \ # ./autogen.sh && \
./configure --prefix=/usr/local && \ # ./configure --prefix=/usr/local && \
make -j8 && make install # make -j8 && make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment