correct file owner

This commit is contained in:
Sebastian Hugentobler 2016-08-03 12:22:48 +02:00
parent a5b43fa93f
commit ec8bb85c35
2 changed files with 6 additions and 3 deletions

View File

@ -2,8 +2,8 @@ FROM thallian/confd-env:latest
ENV VERSION v0.17.0-rc1
RUN addgroup synapse
RUN adduser -h /var/lib/synapse -D -G synapse synapse
RUN addgroup -g 2222 synapse
RUN adduser -h /var/lib/synapse -u 2222 -D -G synapse synapse
RUN apk add --no-cache \
openssl \

View File

@ -1,3 +1,6 @@
[template]
src = "server.yaml.tmpl"
dest = "/var/lib/synapse/server.yaml"
dest = "/var/lib/synapse/server.yaml"
uid = 2222
gid = 2222
mode = "0644"