-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
executable file
·35 lines (25 loc) · 1.07 KB
/
Dockerfile
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
FROM satijalab/seurat:4.3.0
RUN mkdir /home/anndata
COPY policy.xml addImage.sh gem2rds.r rds2h5adsc.R rds2annImg.py /usr/local/bin
RUN apt-get update && \
apt-get install -y imagemagick bc python3.9 python3-pip && \
rm /etc/ImageMagick-6/policy.xml && \
cp /usr/local/bin/policy.xml /etc/ImageMagick-6/policy.xml && \
pip install pandas matplotlib scanpy==1.9.6 && \
pip install --upgrade numba numpy
RUN R -e "install.packages('remotes'); \
remotes::install_version('data.table', '1.14.8')"
RUN R -e "install.packages('remotes'); \
remotes::install_version('findpython', '1.0.8')"
RUN R -e "install.packages('remotes'); \
remotes::install_version('R6', '2.5.1')"
RUN R -e "install.packages('remotes'); \
remotes::install_version('jsonlite', '1.8.4')"
RUN R -e "install.packages('remotes'); \
remotes::install_version('argparser', '0.7.2')"
RUN R -e "install.packages('remotes'); \
remotes::install_version('dplyr', '1.1.2')"
# Set working dir to /home/anndata
WORKDIR /home/anndata
# Run your R script when the container starts
CMD ["bash", "addImage.sh"]