File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
2
2
3
- RUN apk add libusb \
4
- ttf-dejavu \
5
- fontconfig \
6
- py3-qt5 \
7
- qemu-arm \
8
- tesseract-ocr \
9
- mesa-dri-gallium
10
-
11
- ARG QEMU_BIN=qemu-arm
12
-
13
- # -static version is not available in Alpine repositories
14
- RUN ln -s "$QEMU_BIN" $(dirname $(which "$QEMU_BIN" ))/$QEMU_BIN-static
15
-
16
- # Python packages building dependencies
17
- ARG PYTHON_BUILD_DEPS=libffi-dev,python3-dev,py3-virtualenv
18
-
19
- # Install the building dependencies.
20
- RUN apk add $(echo -n "$PYTHON_BUILD_DEPS" | tr , ' ' )
21
-
22
- # Install packahes to allow Guideline Enforcer to run
23
- RUN apk add imagemagick grep
3
+ RUN apt install -y --no-install-recommends \
4
+ imagemagick \
5
+ libgl1 \
6
+ libpython3-dev \
7
+ qemu-user-static
8
+
9
+ RUN apt install -y --no-install-recommends \
10
+ libdbus-1-3 \
11
+ libxcb-icccm4 \
12
+ libxcb-image0 \
13
+ libxcb-keysyms1 \
14
+ libxcb-render-util0 \
15
+ libxcb-shape0 \
16
+ libxcb-xinerama0 \
17
+ libxcb-xkb1 \
18
+ libxkbcommon-x11-0
24
19
25
20
# Install test tools (Ragger framework, Speculos emulator, Ledgerblue...)
26
- RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.25.0" "speculos==0.13.1"
21
+ RUN pip3 install --break-system-packages -- no-cache-dir "ragger[tests,all_backends]==1.25.0" "speculos==0.13.1"
27
22
28
23
# Add the enforcer script
29
24
ADD ./dev-tools/enforcer.sh /opt/enforcer.sh
You can’t perform that action at this time.
0 commit comments