Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
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
Show more breadcrumbs
Maunium
synapse
Commits
af10fa65
Commit
af10fa65
authored
6 years ago
by
Jan Christian Grünhage
Browse files
Options
Downloads
Patches
Plain Diff
add runtime dependencies
parent
e957428a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile
+10
-5
10 additions, 5 deletions
docker/Dockerfile
with
10 additions
and
5 deletions
docker/Dockerfile
+
10
−
5
View file @
af10fa65
...
...
@@ -2,7 +2,7 @@ FROM docker.io/python:2-alpine3.8
COPY
. /synapse
RUN
apk add
--no-cache
--virtual
.
nacl
_deps
\
RUN
apk add
--no-cache
--virtual
.
build
_deps
\
build-base
\
libffi-dev
\
libjpeg-turbo-dev
\
...
...
@@ -10,11 +10,16 @@ RUN apk add --no-cache --virtual .nacl_deps \
libxslt-dev
\
linux-headers
\
postgresql-dev
\
su-exec
\
zlib-dev
\
# A wheel cache may be provided in ./cache for faster build
&&
cd
/synapse
\
&&
apk add
--no-cache
--virtual
.runtime_deps
\
libffi
\
libjpeg-turbo
\
libressl
\
libxslt
\
libpq
\
zlib
\
su-exec
\
&&
pip
install
--upgrade
\
lxml
\
pip
\
...
...
@@ -27,7 +32,7 @@ RUN apk add --no-cache --virtual .nacl_deps \
setup.cfg
\
setup.py
\
synapse
\
&& apk del .
nacl
_deps
&&
apk del .
build
_deps
VOLUME
["/data"]
...
...
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