Skip to content

Commit 5881147

Browse files
committed
Fix cross-compile Docker build
1 parent fb360ad commit 5881147

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docker/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,13 @@ ENV PLANTUML_JAR_PATH=/opt/plantuml.jar
8888

8989

9090
# Fetch and install ZAP and dependencies
91-
RUN apt update \
92-
&& echo "Latest ZAP .deb URL: https://github.com/project-chip/zap/releases/download/v2025.01.15/zap-linux-x64.deb" \
93-
&& wget -O /tmp/zap.deb https://github.com/project-chip/zap/releases/download/v2025.01.15/zap-linux-x64.deb \
94-
&& apt install -y --no-install-recommends /tmp/zap.deb \
95-
&& rm -rf /var/lib/apt/lists/*
91+
RUN wget -O /tmp/zap.zip https://github.com/project-chip/zap/releases/download/v2025.06.09/zap-linux-arm64.zip \
92+
&& echo e0457d340965e153d84ca41addc257a8e4f6b4c1c8dfdb7d105779110e6d8451 /tmp/zap.zip > /tmp/zap.zip.sha256 \
93+
&& sha256sum -c /tmp/zap.zip.sha256 \
94+
&& unzip /tmp/zap.zip -d /opt/ \
95+
&& rm /tmp/zap.zip \
96+
&& mv /opt/zap-* /opt/zap
97+
ENV PATH="/opt/zap/bin:${PATH}"
9698

9799
# Unpack SLC CLI
98100
COPY uic-resources/linux/slc_cli_linux.zip /tmp/slc_cli_linux.zip

0 commit comments

Comments
 (0)