File tree Expand file tree Collapse file tree 1 file changed +19
-22
lines changed Expand file tree Collapse file tree 1 file changed +19
-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
+ jq \
6
+ libgl1 \
7
+ libpython3-dev \
8
+ python3-pyqt5 \
9
+ python3-venv \
10
+ qemu-user-static
11
+
12
+ RUN apt install -y --no-install-recommends \
13
+ libxcb-icccm4 \
14
+ libxcb-image0 \
15
+ libxcb-keysyms1 \
16
+ libxcb-render-util0 \
17
+ libxcb-shape0 \
18
+ libxcb-xinerama0 \
19
+ libxcb-xkb1 \
20
+ libxkbcommon-x11-0
24
21
25
22
# Install test tools (Ragger framework, Speculos emulator, Ledgerblue...)
26
- RUN pip3 install --no-cache-dir "ragger[tests,all_backends]==1.30.0" "speculos==0.18.0"
23
+ RUN pip3 install --break-system-packages -- no-cache-dir "speculos==0.18.0"
27
24
28
25
# Add the enforcer script
29
26
ADD ./dev-tools/enforcer.sh /opt/enforcer.sh
You can’t perform that action at this time.
0 commit comments