Commit e1248849 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Add image with quicktree installed

parent 7732346d
Pipeline #3420 passed with stage
in 20 minutes and 50 seconds
......@@ -48,3 +48,14 @@ build-install-prokka:
- git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-prokkaonly" for_build/prokka_only
- docker push "$CI_REGISTRY_IMAGE/install-ubuntu-prokkaonly"
build-install-annote-and-quicktree:
only:
- docker
stage: build
script:
- apk update ; apk add git
- git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-annote-quicktree" for_build/annote_and_1tree
- docker push "$CI_REGISTRY_IMAGE/install-ubuntu-annote-quicktree"
\ No newline at end of file
from ubuntu:16.04
# Update apt-get packages
RUN apt-get update &&\
apt-get -y upgrade
# Install package needed
RUN apt-get install -y \
wget \
python3-pip
# Update pip
RUN pip3 install --upgrade pip
# Install prokka:
WORKDIR /tmp
RUN apt-get install -y\
libdatetime-perl \
libxml-simple-perl \
libdigest-md5-perl \
git \
default-jre \
bioperl
RUN git clone https://github.com/tseemann/prokka.git
RUN /tmp/prokka/bin/prokka --setupdb
RUN ln -s /tmp/prokka/bin/prokka /usr/local/bin
# Install quicktree
WORKDIR /tmp
RUN git clone https://github.com/tseemann/quicktree
WORKDIR quicktree
RUN make &&\
ln -s /tmp/quicktree/quicktree /usr/local/bin
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment