Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amandine PERRIN
pipeline_annotation
Commits
55007062
Commit
55007062
authored
Apr 18, 2017
by
Amandine PERRIN
Browse files
Add gitlab-ci and Dockerfile
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
55007062
image
:
docker:latest
services
:
-
docker:dind
variables
:
CI_REGISTRY_IMAGE
:
"
registry-gitlab.pasteur.fr/demo/online-course"
before_script
:
-
docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
build
:
only
:
-
docker
stage
:
build
script
:
-
apk update ; apk add git
-
git checkout master -- requirements.txt
-
docker build --pull -t "$CI_REGISTRY_IMAGE:testing-ubuntu" .
-
docker push "$CI_REGISTRY_IMAGE:testing-ubuntu"
Dockerfile
0 → 100644
View file @
55007062
from
ubuntu
RUN
apt-get update
# 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
# RUN pip3 install -r requirements.txt
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment