File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 11FROM fedora:35
22
3+ ENV UV_PYTHON=3.12
34ENV BITCOIN_VERSION=27.1
5+
46WORKDIR /tmp
57
68RUN dnf update -y && \
@@ -10,11 +12,6 @@ RUN dnf update -y && \
1012 dnf install -y \
1113 clang \
1214 libsq3-devel \
13- python3-devel \
14- python3-mako \
15- python3-pip \
16- python3-virtualenv \
17- python3-setuptools \
1815 redhat-lsb \
1916 net-tools \
2017 valgrind \
@@ -26,8 +23,6 @@ RUN dnf update -y && \
2623 cargo && \
2724 dnf clean all
2825
29- RUN python3 -m pip install uv
30-
3126RUN wget https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
3227 tar -xvzf bitcoin.tar.gz && \
3328 mv bitcoin-$BITCOIN_VERSION/bin/bitcoin* /usr/local/bin/ && \
@@ -36,8 +31,6 @@ RUN wget https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITC
3631 mv bitcoin-$BITCOIN_VERSION/share/man/man1/* /usr/share/man/man1 && \
3732 rm -rf bitcoin.tar.gz bitcoin-$BITCOIN_VERSION
3833
39- ENV PATH=/opt/venv/bin:${PATH}
40- RUN python3 -m pip install pip wheel && \
41- python3 -m virtualenv /opt/venv && \
42- /opt/venv/bin/python3 -m pip install --force-reinstall -U pip poetry wheel
43- RUN poetry self add poetry-plugin-export
34+ # Ensure `uv` can be found
35+ ENV PATH=${PATH}:/root/.local/bin
36+ RUN wget -qO- https://astral.sh/uv/install.sh | sh
You can’t perform that action at this time.
0 commit comments