forked from weerapana-lab/ionFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (24 loc) · 764 Bytes
/
Dockerfile
File metadata and controls
31 lines (24 loc) · 764 Bytes
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
from python:3.9
MAINTAINER "Aaron Maurais -- Weerapana Lab"
# initialize
RUN apt-get update && \
apt-get -y install cmake r-base man less && \
R -e "install.packages(c('Rcpp', 'ggplot2'))" && \
mkdir -p /code/envoMatch /code/ionFinder/ionFinder /data
# install envoMatch
RUN git clone https://github.com/ajmaurais/envoMatch /code/envoMatch
RUN cd /code/envoMatch && \
python setup.py build && \
pip install .
# install ionFinder
COPY ./ /code/ionFinder/ionFinder
RUN cd /code/ionFinder && \
mkdir build && \
cd build && \
cmake ../ionFinder && \
make && \
cp -v bin/* /usr/local/bin
# build ms2 plotting stuff
RUN cd /code/ionFinder/ionFinder && mkdir lib && \
Rscript rpackages/install_packages.R
WORKDIR /data