Skip to content

Commit 32cac17

Browse files
authored
fix: Adjust for latest Specter
1 parent 67c2604 commit 32cac17

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
77
# OTHER DEALINGS IN THE SOFTWARE.
88

9-
ARG VERSION=v1.8.0
9+
ARG VERSION=v2.1.0
1010
ARG REPO=https://github.com/cryptoadvance/specter-desktop
1111
ARG USER=specter
1212
ARG DIR=/data/
1313

14-
FROM python:3.10-slim-bullseye AS builder
14+
FROM python:3.10-bookworm AS builder
1515

1616
ARG VERSION
1717
ARG REPO
1818

19-
RUN apt update && apt install -y git build-essential libusb-1.0-0-dev libudev-dev libffi-dev libssl-dev rustc cargo
19+
RUN apt update && apt install -y git libusb-1.0-0-dev libudev-dev libffi-dev libssl-dev rustc cargo
2020

2121
WORKDIR /
2222

@@ -25,13 +25,14 @@ RUN git clone $REPO
2525
WORKDIR /specter-desktop
2626

2727
RUN git checkout $VERSION
28-
RUN sed -i "s/vx.y.z-get-replaced-by-release-script/${VERSION}/g; " setup.py
2928
RUN pip3 install --upgrade pip
3029
RUN pip3 install babel cryptography
31-
RUN pip3 install .
3230

31+
RUN pip3 install -r requirements.txt
32+
RUN pip3 install . --no-deps
3333

34-
FROM python:3.10-slim-bullseye as final
34+
35+
FROM python:3.10-slim-bookworm as final
3536

3637
ARG USER
3738
ARG DIR

0 commit comments

Comments
 (0)