Skip to content

Commit

Permalink
an updated Dockerfile for 1.0.2 that includes a cute PS1, too
Browse files Browse the repository at this point in the history
  • Loading branch information
meren committed Aug 22, 2015
1 parent 0ddaa7e commit 7183f8d
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:trusty


ENV ANVIO_VERSION 1.0.2

RUN apt-get update
RUN apt-get install -y wget \
cython \
Expand All @@ -10,22 +12,30 @@ RUN apt-get install -y wget \
python-scipy \
sqlite3 \
zlib1g-dev

RUN mkdir -p /tmp/build && cd /tmp/build && wget https://github.com/hyattpd/Prodigal/archive/v2.6.2.tar.gz && tar -zxvf v2.6.2.tar.gz && cd Prodigal-2.6.2/ && make && cp prodigal /usr/bin/ && cd -


RUN mkdir -p /tmp/build && \
cd /tmp/build && \
wget https://github.com/hyattpd/Prodigal/archive/v2.6.2.tar.gz && \
tar -zxvf v2.6.2.tar.gz && \
cd Prodigal-2.6.2/ && \
make && \
cp prodigal /usr/bin/ && \
cd - && \
rm -rf /tmp/build

RUN pip install bottle==0.12.8 \
hcluster==0.2.0 \
ete2==2.3.6 \
scikit-learn==0.16.1 \
django==1.8.4 \
pysam==0.8.3 \
cython==0.23
RUN pip install anvio==1.0.1

COPY tests /tmp/build/tests
COPY anvio/data /tmp/build/anvio/data

# anvi-import-collection: error: unrecognized arguments: -a test-output/ANNOTATION.db
#RUN cd /tmp/build/tests && ./run_mini_test.sh

RUN rm -rf /tmp/build
RUN pip install anvio==$ANVIO_VERSION
COPY tests /anvio-tests
RUN echo "export PS1=\"\[\e[0m\e[47m\e[1;30m\] :: anvi'o :: \[\e[0m\e[0m \[\e[1;34m\]\]\w\[\e[m\] \[\e[1;32m\]>>\[\e[m\] \[\e[0m\]\"" >>> /etc/profile.d/prompt
.sh
CMD /bin/bash -l

0 comments on commit 7183f8d

Please sign in to comment.