diff options
author | kaiyou <pierre@jaury.eu> | 2018-02-04 23:19:08 +0100 |
---|---|---|
committer | kaiyou <pierre@jaury.eu> | 2018-02-04 23:19:08 +0100 |
commit | e9021e16c49c4224782040449b43fb0015c9f05c (patch) | |
tree | 8fce8840e25daaedb24a9a451425dd67d3972f83 /Dockerfile | |
parent | Fix multiple typos (diff) | |
download | synapse-e9021e16c49c4224782040449b43fb0015c9f05c.tar.xz |
Run the server as an unprivileged user
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
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 |