Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 01, 2015
@wgerlach wgerlach Dockefile for mothur a5b9669
Showing with 30 additions and 0 deletions.
  1. +30 −0 Dockerfile
View
@@ -0,0 +1,30 @@
+FROM debian:jessie
+
+# TODO: install only the actually required boost libraries
+
+RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y \
+ libboost-all-dev \
+ make \
+ g++ \
+ libreadline-dev \
+ zlib1g-dev \
+ libncurses5-dev
+
+
+ADD . /mothur/
+
+# for Linux TARGET_ARCH has to be commented
+RUN sed -i -e 's/TARGET_ARCH /#TARGET_ARCH /' \
+ -e 's/zlib.a/libz.a/' \
+ -e 's/BOOST_LIBRARY_DIR=\".*\"/BOOST_LIBRARY_DIR=\"\/usr\/lib\/x86_64-linux-gnu\/\"/' \
+ /mothur/makefile
+
+RUN cd /mothur && make
+
+ENV PATH "/mothur/:$PATH"
+
+# example
+# git clone -b v1.36.1 https://github.com/mothur/mothur.git
+# cd mothur
+# docker build -t mothur:v1.36.1 .
+

No commit comments for this range