Skip to content

Commit b3cf4f5

Browse files
Merge pull request #18 from mvgorcum/master
fix not upgrading pip
2 parents e2f81a5 + cbf23d6 commit b3cf4f5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Dockerfile

+6-8
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,16 @@ RUN set -ex \
7979
sqlite \
8080
zlib1g \
8181
; \
82-
pip install --upgrade wheel ;\
83-
pip install --upgrade python-ldap ;\
84-
pip install --upgrade pyopenssl ;\
85-
pip install --upgrade enum34 ;\
86-
pip install --upgrade ipaddress ;\
87-
pip install --upgrade lxml ;\
88-
pip install --upgrade supervisor \
82+
python -m pip install --upgrade pip ;\
83+
python -m pip install --upgrade wheel ;\
84+
python -m pip install --upgrade python-ldap ;\
85+
python -m pip install --upgrade lxml ;\
86+
python -m pip install --upgrade supervisor \
8987
; \
9088
git clone --branch $BV_SYN --depth 1 https://github.com/matrix-org/synapse.git \
9189
&& cd /synapse \
9290
git checkout tags/$TAG_SYN \
93-
&& pip install --upgrade --process-dependency-links . \
91+
&& python -m pip install --upgrade --process-dependency-links . \
9492
&& GIT_SYN=$(git ls-remote https://github.com/matrix-org/synapse $BV_SYN | cut -f 1) \
9593
&& echo "synapse: $BV_SYN ($GIT_SYN)" >> /synapse.version \
9694
&& cd / \

0 commit comments

Comments
 (0)