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

Update gitlab ci and dockerfile

parent ae3ff5fb
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
- docker:dind - docker:dind
variables: variables:
CI_REGISTRY_IMAGE: "registry-gitlab.pasteur.fr/demo/online-course" CI_REGISTRY_IMAGE: "registry-gitlab.pasteur.fr/aperrin/pipeline_annotation"
before_script: before_script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr - docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
...@@ -15,6 +15,6 @@ build: ...@@ -15,6 +15,6 @@ build:
stage: build stage: build
script: script:
- apk update ; apk add git - apk update ; apk add git
- git checkout master -- requirements.txt - git checkout master
- docker build --pull -t "$CI_REGISTRY_IMAGE:testing-ubuntu" . - docker build --pull -t "$CI_REGISTRY_IMAGE:testing-ubuntu" .
- docker push "$CI_REGISTRY_IMAGE:testing-ubuntu" - docker push "$CI_REGISTRY_IMAGE:testing-ubuntu"
from ubuntu from ubuntu:16.04
RUN apt-get update RUN apt-get update &&\
apt-get -y upgrade
# RUN yum install -y epel-release # RUN yum install -y epel-release
# RUN yum install install -y python34-pip python34-devel postgresql-server gcc postgresql-devel # RUN yum install install -y python34-pip python34-devel postgresql-server gcc postgresql-devel
# ADD requirements.txt /requirements.txt # ADD requirements.txt /requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment