Skip to content
Snippets Groups Projects
Commit 1fc00df8 authored by Vladimir Kulikovskiy's avatar Vladimir Kulikovskiy
Browse files

no irods, clean installation

parent e2804906
Branches 6-irods-installation-within-container
No related tags found
No related merge requests found
FROM docker.km3net.de/base/singularity-py3:3.5.3
FROM python:3.8.1
MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
#Install Singularity as described on https://github.com/sylabs/singularity/blob/master/INSTALL.md
RUN apt-get update -qq && apt-get install -qq -y wget bzip2 python-pip git zsh libhdf5-dev
RUN apt-get install -qq -y build-essential libssl-dev uuid-dev libgpgme11-dev libseccomp-dev pkg-config squashfs-tools
RUN export VERSION=1.14 OS=linux ARCH=amd64 && wget -q -O /tmp/go${VERSION}.${OS}-${ARCH}.tar.gz https://dl.google.com/go/go${VERSION}.${OS}-${ARCH}.tar.gz && \
tar -C /usr/local -xzf /tmp/go${VERSION}.${OS}-${ARCH}.tar.gz
RUN export GOPATH=${HOME}/go && mkdir -p ${GOPATH}/src/github.com/sylabs && cd ${GOPATH}/src/github.com/sylabs &&\
git clone https://github.com/sylabs/singularity.git && cd singularity && git checkout v3.5.3-rc.2
RUN export GOPATH=${HOME}/go && export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin && cd ${GOPATH}/src/github.com/sylabs/singularity && ./mconfig && cd ./builddir && make && make install
#Install basic python modules
RUN pip install -U pip setuptools wheel
RUN pip install numpy
RUN pip install scipy pandas sklearn statsmodels numba numexpr tables h5py
RUN pip install pytest pytest-cov docopt sphinx sphinx-gallery
RUN pip install matplotlib seaborn pillow ipython jupyter notebook pillow
#Set the go environment
RUN echo '\
export GOPATH=${HOME}/go\n\
export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin'\
>> /etc/profile.d/go_env.sh
CMD ["/bin/zsh"]
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get install -qq -y apt-utils
......@@ -7,7 +33,7 @@ FROM docker.km3net.de/base/singularity-py3:3.5.3
RUN zsh -c 'apt-get install -qq -y environment-modules'
RUN apt-get install -qq -y sed
RUN git clone https://$KM3NET_USERNAME:$KM3NET_USERNAME@git.km3net.de/common/irods-legacy && cd irods-legacy && \
sed -i 's/\$thisUserID == //' ./iRODS/scripts/perl/*pl && \
cd iRODS && ./scripts/configure && make && mkdir -p /opt/bin && cp clients/icommands/bin/* /opt/bin && \
cd / && rm -rf irods-legacy
#RUN git clone https://$KM3NET_USERNAME:$KM3NET_USERNAME@git.km3net.de/common/irods-legacy && cd irods-legacy && \
# sed -i 's/\$thisUserID == //' ./iRODS/scripts/perl/*pl && \
# cd iRODS && ./scripts/configure && make && mkdir -p /opt/bin && cp clients/icommands/bin/* /opt/bin && \
# cd / && rm -rf irods-legacy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment