Commit 17fa4e51 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Add a new docker image with only prokka

Installation script should install only the pipeline, as barrnap is not necessary to run prokka
parent e40bee61
Pipeline #2080 passed with stage
in 16 minutes and 2 seconds
......@@ -38,3 +38,13 @@ build-install-barrnap:
- git checkout master -- pythoncode/requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE:install-ubuntu-barrnapOnly" for_build/barrnap_only
- docker push "$CI_REGISTRY_IMAGE:install-ubuntu-barrnapOnly"
- docker
stage: build
- apk update ; apk add git
- git checkout master -- pythoncode/requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE:install-ubuntu-prokkaOnly" for_build/prokka_only
- docker push "$CI_REGISTRY_IMAGE:install-ubuntu-prokkaOnly"
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 \
# Update pip
RUN pip3 install --upgrade pip
# Install prokka:
RUN apt-get install -y\
libdatetime-perl \
libxml-simple-perl \
libdigest-md5-perl \
git \
default-jre \
RUN git clone
RUN /tmp/prokka/bin/prokka --setupdb
RUN ln -s /tmp/prokka/bin/prokka /usr/local/bin
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