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
1ca9579f
Commit
1ca9579f
authored
6 years ago
by
Igor Witz
Browse files
Options
Downloads
Patches
Plain Diff
ça construit bien
parent
bfe3967c
No related branches found
Branches containing commit
No related tags found
1 merge request
!9
Correction vulnerabilites pica etherpad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pica-etherpad/Dockerfile
+5
-4
5 additions, 4 deletions
pica-etherpad/Dockerfile
with
5 additions
and
4 deletions
pica-etherpad/Dockerfile
+
5
−
4
View file @
1ca9579f
LABEL
maintainer="antoine@barbare.me"
# déclaration unique des variables d'environnement
FROM
node:10.11.0-slim
as
base
LABEL
maintainer="antoine@barbare.me"
ARG
ETHERPAD_VERSION_BUILD=1.7.0
ARG
ETHERPAD_LANDING_PAGE_VERSION_BUILD=v0.1
...
...
@@ -44,17 +43,19 @@ FROM base
COPY
entrypoint.sh /entrypoint.sh
RUN
chmod
+x /entrypoint.sh
&&
\
mkdir
-p
/opt/etherpad-lite
&&
\
chown
-R
node /opt/etherpad-lite
&&
\
usermod
-d
/opt/etherpad-lite node
&&
\
rm
-r
/var/lib/apt/lists/
*
# import des fichiers téléchargés dans l'image downloader
COPY
--from=downloader /opt/etherpad-lite /opt/etherpad-lite
--chown=node
COPY
--from=downloader
--chown=node
/opt/etherpad-lite /opt/etherpad-lite
/
USER
node
WORKDIR
/opt/etherpad-lite
# installation de dépendances supplémentaires
RUN
bin/installDeps.sh
&&
\
RUN
ls
-al
&&
\
bin/installDeps.sh
&&
\
rm
settings.json
&&
\
npm
install
\
ep_align
\
...
...
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