diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37cb1a7bc9fb0eacb3163f05115b916c0444dfdb..aedbf71ad03a7b4fb3cb418f33cd0747f2e8c2e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/for_build/annote_and_1tree/Dockerfile b/for_build/annote_and_1tree/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..302287293c5327e0c7c9f96c06777c5e3eab4d36 --- /dev/null +++ b/for_build/annote_and_1tree/Dockerfile @@ -0,0 +1,33 @@ +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