Skip to content
Snippets Groups Projects
Commit 3d1ad6a1 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

update prokka installation in docker image

- need to set 'yes' by default to install libxml-simple-perl library (RUN DEBIAN_FRONTEND="noninteractive" apt install)
- need to install bioperl from cpan (RUN echo yes | cpan Bio::Perl)
parent 97298a7a
No related branches found
No related tags found
No related merge requests found
Pipeline #43713 canceled
...@@ -30,6 +30,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt install -y\ ...@@ -30,6 +30,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt install -y\
git \ git \
default-jre \ default-jre \
bioperl bioperl
RUN echo yes | cpan Bio::Perl
RUN git clone https://github.com/tseemann/prokka.git RUN git clone https://github.com/tseemann/prokka.git
RUN /install_dir/prokka/bin/prokka --setupdb &&\ RUN /install_dir/prokka/bin/prokka --setupdb &&\
ln -s /install_dir/prokka/bin/prokka /usr/local/bin ln -s /install_dir/prokka/bin/prokka /usr/local/bin
......
...@@ -16,7 +16,7 @@ RUN apt-get install -y \ ...@@ -16,7 +16,7 @@ RUN apt-get install -y \
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
# Install packages to install mafft # Install packages to install mafft
RUN apt-get install -y \ RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y \
libdatetime-perl \ libdatetime-perl \
libxml-simple-perl \ libxml-simple-perl \
libdigest-md5-perl \ libdigest-md5-perl \
......
...@@ -62,6 +62,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt install -y\ ...@@ -62,6 +62,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt install -y\
git \ git \
default-jre \ default-jre \
bioperl bioperl
RUN echo yes | cpan Bio::Perl
RUN git clone https://github.com/tseemann/prokka.git RUN git clone https://github.com/tseemann/prokka.git
RUN /install_dir/prokka/bin/prokka --setupdb &&\ RUN /install_dir/prokka/bin/prokka --setupdb &&\
ln -s /install_dir/prokka/bin/prokka /usr/local/bin ln -s /install_dir/prokka/bin/prokka /usr/local/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment