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
893eaba1
Verified
Commit
893eaba1
authored
5 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
Source cache variables before pulling image
parent
b7992421
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
#51112
failed
5 years ago
Stage: ci-base
Stage: build
Stage: security-tests
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
pica-etherpad/Dockerfile
+2
-2
2 additions, 2 deletions
pica-etherpad/Dockerfile
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
893eaba1
...
...
@@ -26,8 +26,8 @@ stages:
tags
:
[
build
]
before_script
:
-
echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USERNAME --password-stdin
-
docker pull $REGISTRY/ci-builds/$MODIFIED_IMAGE:$CI_COMMIT_SHA
-
source variables
-
docker pull $REGISTRY/ci-builds/$MODIFIED_IMAGE:$CI_COMMIT_SHA
# Build the base image used for all further steps : this is done only when pica-ci's Dockerfile is modified
pica-ci-base
:
...
...
This diff is collapsed.
Click to expand it.
pica-etherpad/Dockerfile
+
2
−
2
View file @
893eaba1
...
...
@@ -46,7 +46,7 @@ RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; don
sed -i 's|Untitled Pad|Nouveau pad|g' node_modules/ep_set_title_on_pad/templates/title.ejs && \
sed -i 's|Untitled Pad|Nouveau pad|g' node_modules/ep_set_title_on_pad/static/tests/frontend/specs/atest.js
#
c
onstruction de l'image finale
#
C
onstruction de l'image finale
FROM
base
ARG
UID=5004
...
...
@@ -62,7 +62,7 @@ RUN apt-get update && \
RUN
useradd
--uid
${
UID
}
--create-home
etherpad
#
i
mport des fichiers téléchargés dans l'image downloader
#
I
mport des fichiers téléchargés dans l'image downloader
COPY
--from=downloader --chown=etherpad /opt/etherpad-lite /opt/etherpad-lite/
WORKDIR
/opt/etherpad-lite/
...
...
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