File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 9
9
set -x \
10
10
&& apt-get update \
11
11
&& apt-get install -y --no-install-recommends \
12
+ curl \
12
13
libuv1 \
13
14
zlib1g \
14
15
libjson-c5 \
25
26
26
27
ARG PYTHON_MATTER_SERVER
27
28
29
+ ENV chip_example_url "https://github.com/agners/matter-linux-example-apps/releases/download/v1.3.0.0"
30
+ ARG TARGETPLATFORM
31
+
32
+ RUN \
33
+ set -x \
34
+ && echo "${TARGETPLATFORM}" \
35
+ && if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
36
+ curl -Lo /usr/local/bin/chip-ota-provider-app "${chip_example_url}/chip-ota-provider-app-x86-64" ; \
37
+ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \
38
+ curl -Lo /usr/local/bin/chip-ota-provider-app "${chip_example_url}/chip-ota-provider-app-aarch64" ; \
39
+ else \
40
+ exit 1; \
41
+ fi \
42
+ && chmod +x /usr/local/bin/chip-ota-provider-app
43
+
28
44
# hadolint ignore=DL3013
29
45
RUN \
30
46
pip3 install --no-cache-dir "python-matter-server[server]==${PYTHON_MATTER_SERVER}"
You can’t perform that action at this time.
0 commit comments