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
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -4,7 +4,7 @@ services:
- docker:dind
variables:
CI_REGISTRY_IMAGE: "registry-gitlab.pasteur.fr/demo/online-course"
CI_REGISTRY_IMAGE: "registry-gitlab.pasteur.fr/aperrin/pipeline_annotation"
before_script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
......@@ -15,6 +15,6 @@ build:
stage: build
script:
- apk update ; apk add git
- git checkout master -- requirements.txt
- git checkout master
- docker build --pull -t "$CI_REGISTRY_IMAGE:testing-ubuntu" .
- docker push "$CI_REGISTRY_IMAGE:testing-ubuntu"
from ubuntu
RUN apt-get update
from ubuntu:16.04
RUN apt-get update &&\
apt-get -y upgrade
# RUN yum install -y epel-release
# RUN yum install install -y python34-pip python34-devel postgresql-server gcc postgresql-devel
# 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