15
15
#
16
16
# --- Build and upload to GHCR.IO ---
17
17
# (Run from the root of the TFLM repository)
18
- # export TFLM_CI_VERSION=0.6.4
19
- # docker build -f ci/Dockerfile.micro -t ghcr.io/tflm-bot/tflm-ci:$TFLM_CI_VERSION .
18
+ # export TFLM_CI_VERSION=0.6.5
19
+ # docker build --no-cache - f ci/Dockerfile.micro -t ghcr.io/tflm-bot/tflm-ci:$TFLM_CI_VERSION .
20
20
# docker push ghcr.io/tflm-bot/tflm-ci:$TFLM_CI_VERSION
21
21
#
22
22
# --- Run locally for debugging ---
28
28
# Use a prebuilt Python image to speed up the build process.
29
29
FROM python:3.10-bookworm
30
30
31
+ # Install qemu-user from bookworm-backports to address a known bug:
32
+ # https://gitlab.com/qemu-project/qemu/-/issues/1697
33
+ RUN echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list && \
34
+ apt-get update && \
35
+ apt-get install -y --no-install-recommends -t bookworm-backports qemu-user && \
36
+ rm -rf /var/lib/apt/lists/*
37
+
31
38
# Install all required system dependencies
32
39
RUN apt-get update && apt-get install -y \
33
40
gnupg \
34
41
lsb-release \
35
- qemu-system-arm \
36
42
software-properties-common \
37
43
sudo \
38
44
wget \
@@ -56,7 +62,7 @@ RUN wget https://apt.llvm.org/llvm.sh \
56
62
# Install all Python dependencies
57
63
# - yapf to check for Python formatting
58
64
# - Pillow was added first for the C array generation
59
- # - pandas, matplotlib, and six for create_size_log scripts
65
+ # - pandas, and matplotlib for create_size_log scripts
60
66
# - pyyaml, requests, psutil, and robotframework for Renode test
61
67
RUN pip install --no-cache-dir --upgrade pip && \
62
68
pip install --no-cache-dir \
@@ -67,7 +73,6 @@ RUN pip install --no-cache-dir --upgrade pip && \
67
73
pyyaml \
68
74
requests \
69
75
robotframework==4.0.1 \
70
- six \
71
76
yapf==0.40.2
72
77
73
78
# Copy and run install scripts, then clean them up
0 commit comments