Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
fix error on install synapse
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaspeters committed May 28, 2019
1 parent 607be31 commit b9adc52
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,17 @@ RUN set -ex \
pip3 install --upgrade python-ldap ;\
pip3 install --upgrade lxml \
; \
git clone --branch $BV_SYN --depth 1 https://github.com/matrix-org/synapse.git \
groupadd -r -g $MATRIX_GID matrix \
&& useradd -r -d /data -M -u $MATRIX_UID -g matrix matrix \
&& chown -R $MATRIX_UID:$MATRIX_GID /data \
&& chown -R $MATRIX_UID:$MATRIX_GID /uploads \
&& git clone --branch $BV_SYN --depth 1 https://github.com/matrix-org/synapse.git \
&& cd /synapse \
git checkout tags/$TAG_SYN \
&& git checkout tags/$TAG_SYN \
&& pip3 install --upgrade .[all] \
&& GIT_SYN=$(git ls-remote https://github.com/matrix-org/synapse $BV_SYN | cut -f 1) \
&& echo "synapse: $BV_SYN ($GIT_SYN)" >> /synapse.version \
&& cd / \
&& rm -rf /synapse \
; \
groupadd -r -g $MATRIX_GID matrix \
&& useradd -r -d /data -M -u $MATRIX_UID -g matrix matrix \
&& chown -R $MATRIX_UID:$MATRIX_GID /data \
&& chown -R $MATRIX_UID:$MATRIX_GID /uploads
&& rm -rf /synapse

USER matrix

0 comments on commit b9adc52

Please sign in to comment.