File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 6
6
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
7
7
# OTHER DEALINGS IN THE SOFTWARE.
8
8
9
- ARG VERSION=v1.8 .0
9
+ ARG VERSION=v2.1 .0
10
10
ARG REPO=https://github.com/cryptoadvance/specter-desktop
11
11
ARG USER=specter
12
12
ARG DIR=/data/
13
13
14
- FROM python:3.10-slim-bullseye AS builder
14
+ FROM python:3.10-bookworm AS builder
15
15
16
16
ARG VERSION
17
17
ARG REPO
18
18
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
20
20
21
21
WORKDIR /
22
22
@@ -25,13 +25,14 @@ RUN git clone $REPO
25
25
WORKDIR /specter-desktop
26
26
27
27
RUN git checkout $VERSION
28
- RUN sed -i "s/vx.y.z-get-replaced-by-release-script/${VERSION}/g; " setup.py
29
28
RUN pip3 install --upgrade pip
30
29
RUN pip3 install babel cryptography
31
- RUN pip3 install .
32
30
31
+ RUN pip3 install -r requirements.txt
32
+ RUN pip3 install . --no-deps
33
33
34
- FROM python:3.10-slim-bullseye as final
34
+
35
+ FROM python:3.10-slim-bookworm as final
35
36
36
37
ARG USER
37
38
ARG DIR
You can’t perform that action at this time.
0 commit comments