Skip to content

Commit 1546127

Browse files
committed
docker: Add fix for broken setuptools installation
The fedora image installs a setuptools version that can not be upgraded via pip. A fix is to remove the files manually and reinstall it via pip. Signed-off-by: Peter Neuroth <[email protected]>
1 parent 88a536f commit 1546127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/docker/Dockerfile.builder.fedora

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ RUN wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_
3030
mv bitcoin-$BITCOIN_VERSION/share/man/man1/* /usr/share/man/man1 && \
3131
rm -rf bitcoin.tar.gz bitcoin-$BITCOIN_VERSION
3232

33-
RUN python3 -m pip install --upgrade pip && \
34-
python3 -m pip install python-bitcoinlib pytest setuptools pytest-test-groups flake8 pytest-rerunfailures ephemeral-port-reserve
33+
RUN python3 -m pip install --force-reinstall -U pip setuptools && \
34+
python3 -m pip install python-bitcoinlib pytest pytest-test-groups flake8 pytest-rerunfailures ephemeral-port-reserve

0 commit comments

Comments
 (0)