Commit 8a574b83 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Add dockerfile to buid image with only prodigal

parent 842a93d2
Pipeline #11616 passed with stage
in 4 minutes and 18 seconds
......@@ -10,74 +10,85 @@ variables:
before_script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
build-test-image:
only:
- docker
stage: build
script:
- apk update # ; apk add git ; apk add apt-utils
# - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/testing-ubuntu" for_tests
- docker push "$CI_REGISTRY_IMAGE/testing-ubuntu"
tags:
- k8s
# build-test-image:
# only:
# - docker
# stage: build
# script:
# - apk update # ; apk add git ; apk add apt-utils
# # - git checkout master -- requirements.txt
# - docker build --pull -t "$CI_REGISTRY_IMAGE/testing-ubuntu" for_tests
# - docker push "$CI_REGISTRY_IMAGE/testing-ubuntu"
# tags:
# - k8s
build-install-barrnap:
only:
- docker
stage: build
script:
- apk update #; apk add git
# - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly" for_build/barrnap_only
- docker push "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly"
tags:
- k8s
# build-install-barrnap:
# only:
# - docker
# stage: build
# script:
# - apk update #; apk add git
# # - git checkout master -- requirements.txt
# - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly" for_build/barrnap_only
# - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly"
# tags:
# - k8s
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"
tags:
- k8s
# 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"
# tags:
# - k8s
build-ubuntu:
only:
- docker
stage: build
script:
- apk update # ; apk add git
# - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu" for_build/ubuntu
- docker push "$CI_REGISTRY_IMAGE/install-ubuntu"
tags:
- k8s
# build-ubuntu:
# only:
# - docker
# stage: build
# script:
# - apk update # ; apk add git
# # - git checkout master -- requirements.txt
# - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu" for_build/ubuntu
# - docker push "$CI_REGISTRY_IMAGE/install-ubuntu"
# tags:
# - k8s
build-mafft:
only:
- docker
stage: build
script:
- apk update # ; apk add git
# - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-mafft" for_build/mafft
- docker push "$CI_REGISTRY_IMAGE/install-mafft"
tags:
- k8s
# build-mafft:
# only:
# - docker
# stage: build
# script:
# - apk update # ; apk add git
# # - git checkout master -- requirements.txt
# - docker build --pull -t "$CI_REGISTRY_IMAGE/install-mafft" for_build/mafft
# - docker push "$CI_REGISTRY_IMAGE/install-mafft"
# tags:
# - k8s
# build-mmseqs_and_fastme:
# only:
# - docker
# stage: build
# script:
# - apk update # ; apk add git
# # - git checkout master -- requirements.txt
# - docker build --pull -t "$CI_REGISTRY_IMAGE/install-mmseqs-fastme" for_build/mmseqs_and_fastme
# - docker push "$CI_REGISTRY_IMAGE/install-mmseqs-fastme"
# tags:
# - k8s
build-mmseqs_and_fastme:
build-install-prodigal:
only:
- docker
stage: build
script:
- apk update # ; apk add git
# - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-mmseqs-fastme" for_build/mmseqs_and_fastme
- docker push "$CI_REGISTRY_IMAGE/install-mmseqs-fastme"
- apk update
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-prodigal" for_build/prodigal
- docker push "$CI_REGISTRY_IMAGE/install-prodigal"
tags:
- k8s
from ubuntu:latest
# Update apt-get packages
RUN apt-get update &&\
apt-get -y upgrade
# Install package needed
RUN apt-get install -y \
python3\
git \
python3-pip
# Upgrade pip
RUN pip3 install --upgrade pip
# Install prodigal
RUN git clone https://github.com/hyattpd/Prodigal.git
WORKDIR Prodigal
RUN make install
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