Skip to content

Commit

Permalink
fix: Adjust for latest Specter
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes authored Jan 3, 2025
1 parent 67c2604 commit 32cac17
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

ARG VERSION=v1.8.0
ARG VERSION=v2.1.0

This comment has been minimized.

Copy link
@moneymanolis

moneymanolis Jan 4, 2025

it's actually v2.1.1 now ... 🙈

ARG REPO=https://github.com/cryptoadvance/specter-desktop
ARG USER=specter
ARG DIR=/data/

FROM python:3.10-slim-bullseye AS builder
FROM python:3.10-bookworm AS builder

ARG VERSION
ARG REPO

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

WORKDIR /

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

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

RUN pip3 install -r requirements.txt
RUN pip3 install . --no-deps

FROM python:3.10-slim-bullseye as final

FROM python:3.10-slim-bookworm as final

ARG USER
ARG DIR
Expand Down

0 comments on commit 32cac17

Please sign in to comment.