-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
52 lines (39 loc) · 1.35 KB
/
Dockerfile
File metadata and controls
52 lines (39 loc) · 1.35 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
41
42
43
44
45
46
47
48
49
50
51
52
FROM condaforge/mambaforge
LABEL maintainer="Jan Detleffsen <[email protected]>"
COPY . /home/sc_framework/
COPY scripts /scripts/
# Set the time zone (before installing any packages)
RUN echo 'Europe/Berlin' > apt-get install -y tzdata
# make scripts executeable
RUN chmod +x scripts/bedGraphToBigWig
# Clear the local repository of retrieved package files
RUN apt-get update --assume-yes && \
apt-get clean
# install Fortran compiler
RUN apt-get install --assume-yes gfortran
# Set timezone for tzdata
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
# Install missing libraries
RUN apt-get install bedtools && \
apt-get install -y libcurl4 && \
apt-get install -y git && \
apt-get install -y build-essential && \
pip install --upgrade pip
# update mamba
RUN mamba update -n base mamba && \
mamba --version
# install enviroment
RUN mamba env update -n base -f /home/sc_framework/sctoolbox_env.yml
# prevent "Build failed for the C core of igraph." #400
RUN mamba install -y "louvain>=0.8.2"
# install sctoolbox
RUN pip install "/home/sc_framework/[core,downstream]" && \
pip install pytest && \
pip install pytest-html && \
pip install pytest-cov && \
pip install pytest-mock
# Generate an ssh key
RUN apt-get install -y openssh-client && \
mkdir .ssh && \
ssh-keygen -t ed25519 -N "" -f .ssh/id_ed25519