Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Cozy Stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
Cozy Stack
Commits
1ccd92a4
Commit
1ccd92a4
authored
8 years ago
by
Bruno Michel
Browse files
Options
Downloads
Patches
Plain Diff
Minimize the number of layers of the cozy-app-dev docker image
parent
f0f7d444
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/Dockerfile
+6
-9
6 additions, 9 deletions
scripts/Dockerfile
with
6 additions
and
9 deletions
scripts/Dockerfile
+
6
−
9
View file @
1ccd92a4
# This Dockerfile should be used to create an
development
environment to
#
develop
applications for cozy-stack. It installs
go and
couchdb 2.
# This Dockerfile should be used to create an environment to
develop
# applications for cozy-stack. It installs couchdb 2
and the cozy-stack
.
# It should not be used for hosting your cozy cloud in production.
FROM
debian:jessie
...
...
@@ -51,17 +51,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV
PATH $PATH:/usr/local/couchdb/bin
# cozy-stack
ENV
COZY_STACK_HOST cozy.local
ENV
COZY_STACK_PORT 8080
ENV
COZY_STACK_PATH cozy-stack
RUN
mkdir
-p
/data/cozy-app
&&
mkdir
-p
/data/cozy-storage
# cozy-stack
COPY
cozy-app-dev.sh /usr/bin
RUN
chmod
+x /usr/bin/cozy-app-dev.sh
COPY
cozy-stack /usr/bin
RUN
chmod
+x /usr/bin/cozy-stack
COPY
cozy-app-dev.sh cozy-stack /usr/bin/
RUN
chmod
+x /usr/bin/cozy-app-dev.sh /usr/bin/cozy-stack
&&
\
mkdir
-p
/data/cozy-app
&&
mkdir
-p
/data/cozy-storage
EXPOSE
8080 5984
...
...
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