Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
7290ce05
Verified
Commit
7290ce05
authored
5 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
Add manual login as gitlab-ci ignores DOCKER_AUTH_CONFIG for manual pushes
parent
eb59c1e5
No related branches found
Branches containing commit
No related tags found
1 merge request
!44
Optimize CI and remove deployment steps, add Mattermost and update Etherpad
Pipeline
#51080
passed
5 years ago
Stage: ci-base
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
pica-ci-base/Dockerfile
+10
-10
10 additions, 10 deletions
pica-ci-base/Dockerfile
with
14 additions
and
10 deletions
.gitlab-ci.yml
+
4
−
0
View file @
7290ce05
...
...
@@ -33,9 +33,13 @@ stages:
pica-ci-base
:
stage
:
ci-base
tags
:
[
build
]
before_script
:
-
echo $REGISTRY_PROD_PASSWORD | docker login $REGISTRY_PROD -u $REGISTRY_PROD_USERNAME --password-stdin
script
:
-
docker build -f pica-ci-base/Dockerfile . -t $REGISTRY_PROD/pica-ci-base:latest
-
docker push $REGISTRY_PROD/pica-ci-base:latest
after_script
:
-
docker logout $REGISTRY_PROD
only
:
changes
:
-
"
pica-ci-base/*"
...
...
This diff is collapsed.
Click to expand it.
pica-ci-base/Dockerfile
+
10
−
10
View file @
7290ce05
FROM
docker:19.03.0
RUN
apk update
&&
\
apk add build-base
\
git
\
iproute2
\
libffi-dev
\
openssl-dev
\
py-pip
\
python2-dev
\
sed
\
wget
\
&&
pip
install
docker-compose
apk add build-base
\
git
\
iproute2
\
libffi-dev
\
openssl-dev
\
py-pip
\
python2-dev
\
sed
\
wget
\
&&
pip
install
docker-compose
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment