Skip to content

Commit

Permalink
Remove "." from tests paths (perl complaining?)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseEspinosa committed May 23, 2023
1 parent 692d7e2 commit a47af02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM debian:stretch
MAINTAINER Paolo Di Tommaso <paolo.ditommaso@gmail.com>

RUN apt-get update --fix-missing && \
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && \
sed -i s/security.debian.org/archive.debian.org/g /etc/apt/sources.list && \
sed -i '/stretch-updates/d' /etc/apt/sources.list && \
apt-get update --fix-missing && \
apt-get install -q -y bc vim procps ghostscript unzip curl wget && \
apt-get install -q -y perl-modules libnet-ssleay-perl libcrypt-ssleay-perl libssl-dev libexpat1 libexpat1-dev liblwp-protocol-https-perl && \
apt-get install -q -y libgfortran3 libglib2.0-0 libgomp1 && \
Expand All @@ -10,11 +13,13 @@ RUN apt-get update --fix-missing && \
RUN mkdir -p /root
ENV HOME /root
WORKDIR /root

#
# Blast+
#
RUN curl -s ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-x64-linux.tar.gz | tar xz -C /opt &&\
ln -s /opt/ncbi-blast-2.2.28+ /opt/ncbi-blast

#
# Add T-Coffee
#
Expand All @@ -24,3 +29,5 @@ ADD tcoffee /opt/tcoffee
# Environment
#
ENV PATH=$PATH:/opt/ncbi-blast/bin:/opt/tcoffee/bin:/opt/tcoffee/plugins/linux/ TEMP=/tmp PERL5LIB=/opt/tcoffee/perl/lib/perl5 DIR_4_TCOFFEE=/opt/tcoffee EMAIL_4_TCOFFEE=tcoffee.msa@gmail.com CACHE_4_TCOFFEE=/tmp/cache/ LOCKDIR_4_TCOFFEE=/tmp/lck/ TMP_4_TCOFFEE=/tmp/


3 changes: 1 addition & 2 deletions docker/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ set -e

#apt-get update --fix-missing && apt-get install -y openjdk-7-jre-headless
cd /root/tcoffee/
/root/tcoffee/lib/perl/lib/perl4makefile/doc2test.pl -replay ./tests/.dumps/core.tests/

/root/tcoffee/lib/perl/lib/perl4makefile/doc2test.pl -replay tests/.dumps/core.tests/

0 comments on commit a47af02

Please sign in to comment.