-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (24 loc) · 1016 Bytes
/
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
33
34
35
FROM kbase/sdkbase2:python
MAINTAINER Sean Jungbluth <sjungbluth@lbl.gov>
# -----------------------------------------
# In this section, you can install any system dependencies required
# to run your App. For instance, you could place an apt-get update or
# install line here, a git checkout to download code, or run any other
# installation scripts.
# To install all the dependencies
RUN apt-get update && apt-get install -y libgsl0-dev git zip unzip python-pip && \
apt-get install -y r-base r-cran-ggplot2
RUN git clone https://github.com/jungbluth/kb_iMAG-viz
RUN echo 'install.packages("ggpubr", dependencies=TRUE, repos = "http://cran.us.r-project.org")' > /tmp/packages.R \
&& Rscript /tmp/packages.R
#ENTRYPOINT [ "./scripts/entrypoint.sh" ]
# write.csv(taxa, 'taxa.csv', col.names=NA); \n \
# RUN printf "library(ggplot2); \n \
# library(ggpubr); \n \
# \n" \
# > ~/commands.R
WORKDIR /tmp
USER root
# # set the entrypoint
#ENTRYPOINT ["sh","-c","Rscript ~/commands.R"]
#CMD [ ]