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

modified: .gitlabci/setup.sh

parent fca7e23b
No related branches found
No related tags found
No related merge requests found
Pipeline #1787 failed with stages
in 34 seconds
......@@ -15,13 +15,15 @@ apt-get update && apt-get install -y wget git \
sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
# Install go
export VERSION=1.12 OS=linux ARCH=amd64 && \ # Replace the values as needed
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \ # Downloads the required Go package
sudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz && \ # Extracts the archive
rm go$VERSION.$OS-$ARCH.tar.gz # Deletes the ``tar`` file
export VERSION=1.12 OS=linux ARCH=amd64 && \
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \
sudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz && \
rm go$VERSION.$OS-$ARCH.tar.gz
echo 'export PATH=/usr/local/go/bin:$PATH' >> /etc/profile.d/go.sh && source /etc/profile.d/go.sh
export PATH=/usr/local/go/bin:$PATH
# Install Singularity
export VERSION=3.3.0 && # adjust this as necessary \
wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment