Install Mbed OS Python requirements

This commit is contained in:
Beslan
2026-06-02 06:36:02 +03:00
parent d9386e050b
commit 6948121f4d
2 changed files with 39 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ ENV LC_ALL=C.UTF-8
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
binutils-arm-none-eabi \ binutils-arm-none-eabi \
build-essential \
ca-certificates \ ca-certificates \
curl \ curl \
gcc-arm-none-eabi \ gcc-arm-none-eabi \
@@ -15,6 +16,7 @@ RUN apt-get update \
mercurial \ mercurial \
patch \ patch \
python3 \ python3 \
python3-dev \
python3-pip \ python3-pip \
python3-setuptools \ python3-setuptools \
python3-wheel \ python3-wheel \
@@ -30,7 +32,11 @@ RUN curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-l
ENV PATH=/opt/node/bin:${PATH} ENV PATH=/opt/node/bin:${PATH}
RUN python3 -m pip install --no-cache-dir "mbed-cli==1.10.5" COPY mbed-os-5.15-requirements.txt /tmp/mbed-os-5.15-requirements.txt
RUN python3 -m pip install --no-cache-dir --default-timeout=100 --retries 10 "mbed-cli==1.10.5" \
&& python3 -m pip install --no-cache-dir --default-timeout=100 --retries 10 -r /tmp/mbed-os-5.15-requirements.txt \
&& rm /tmp/mbed-os-5.15-requirements.txt
RUN arm-none-eabi-gcc --version \ RUN arm-none-eabi-gcc --version \
&& python3 --version \ && python3 --version \

View File

@@ -0,0 +1,32 @@
colorama==0.3.9
urllib3[secure]==1.24.2
prettytable==0.7.2
junit-xml==1.8
pyyaml==4.2b1
jsonschema==2.6.0
future==0.16.0
six==1.12.0
mbed-cloud-sdk>=2.0.6,<2.1
requests>=2.20,<2.21
idna>=2,<2.8
pyserial>=3,<=3.4
Jinja2>=2.10.1,<2.11
MarkupSafe<2.1
intelhex>=1.3,<=2.2.1
mbed-ls>=1.5.1,<1.8
mbed-host-tests>=1.4.4,<1.6
mbed-greentea>=0.2.24,<1.8
beautifulsoup4>=4,<=4.6.3
pyelftools>=0.24,<=0.25
manifest-tool==1.5.2
icetea>=1.2.1,<1.3
pycryptodome>=3.9.3,<4
pyusb>=1.0.0,<2.0.0
hidapi>=0.7.99,<0.8.0;platform_system!="Linux"
cmsis-pack-manager>=0.2.3,<0.3.0
pywin32==224;platform_system=="Windows"
wmi==1.4.9;platform_system=="Windows"
psutil==5.6.6
cryptography>=2.5,<3
Click>=7.0,<7.1
cbor>=1.0.0