forked from singularityhub/sregistry-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (31 loc) · 1.02 KB
/
Dockerfile
File metadata and controls
40 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM continuumio/miniconda3
#########################################
# Singularity Registry Global Client
#
# docker build -t vanessa/sregistry-cli .
# docker run vanessa/sregistry-cli
#########################################
RUN mkdir /code
ADD . /code
RUN /opt/conda/bin/pip install setuptools
RUN /opt/conda/bin/pip install scif
RUN scif install /code/sregistry-cli.scif
ENTRYPOINT ["scif"]
ENV PATH /usr/local/bin:$PATH
LABEL maintainer vsochat@stanford.edu
RUN apt-get update && apt-get install -y git build-essential \
libtool \
squashfs-tools \
autotools-dev \
automake \
autoconf \
uuid-dev \
libssl-dev
RUN /opt/conda/bin/pip install dateutils
# Install Singularity
WORKDIR /opt
RUN git clone https://www.github.com/singularityware/singularity.git
WORKDIR singularity
RUN ./autogen.sh && ./configure --prefix=/usr/local && make && make install
WORKDIR /code
RUN /opt/conda/bin/pip install -e .