Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dockerfiles/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ RUN mkdir -p /var/log/httpd/api.metagenomics/ && \
cd / && \
git clone -b api https://github.com/MG-RAST/MG-RAST.git && \
cd /MG-RAST && \
make
make && \
cd site/CGI && \
rm -fv metagenomics.cgi linkin.cgi m5nr.cgi m5nr_rest.cgi

# R dependencies
apt-get install -y r-base r-cran-nlme r-cran-ecodist && \
RUN apt-get install -y r-base r-cran-nlme r-cran-ecodist && \
echo 'install.packages("matlab", repos = "http://cran.wustl.edu")' | R --no-save && \
echo 'source("http://bioconductor.org/biocLite.R"); biocLite("pcaMethods")' | R --no-save

Expand Down
4 changes: 3 additions & 1 deletion dockerfiles/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ RUN cd / && \
git clone -b master https://github.com/MG-RAST/MG-RAST.git && \
cd MG-RAST && \
make && \
ln -s /config/Conf.pm /MG-RAST/conf/Conf.pm
ln -s /config/Conf.pm /MG-RAST/conf/Conf.pm && \
cd site/CGI && \
rm -fv api.cgi m5nr.cgi m5nr_rest.cgi

# v4-uploader for v3
RUN cd / && git clone https://github.com/MG-RAST/MG-RASTv4.git && mv /MG-RASTv4/* /MG-RAST/site/CGI/Html/
Expand Down