summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-02-04 23:19:08 +0100
committerkaiyou <pierre@jaury.eu>2018-02-04 23:19:08 +0100
commite9021e16c49c4224782040449b43fb0015c9f05c (patch)
tree8fce8840e25daaedb24a9a451425dd67d3972f83 /Dockerfile
parentFix multiple typos (diff)
downloadsynapse-e9021e16c49c4224782040449b43fb0015c9f05c.tar.xz
Run the server as an unprivileged user
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 25f3746303..f687a4f2bb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
 FROM python:2-alpine
 
-RUN apk add --no-cache --virtual .nacl_deps build-base libffi-dev zlib-dev openssl-dev libjpeg-turbo-dev linux-headers postgresql-dev
+RUN apk add --no-cache --virtual .nacl_deps su-exec build-base libffi-dev zlib-dev openssl-dev libjpeg-turbo-dev linux-headers postgresql-dev
 
 COPY . /synapse