Skip to content

Commit

Permalink
fixed commander path
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-Shaha committed Oct 3, 2024
1 parent f21c0bd commit cf7e846
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Integrations/docker/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ RUN wget -O gcc.tar.xz "https://developer.arm.com/-/media/Files/downloads/gnu/12
&& : # last line

# Download Simplicity Commander
RUN wget https://www.silabs.com/documents/login/software/SimplicityCommander-Linux.zip -O /tmp/commander.zip \\
&& unzip ./tmp/commander.zip -d /tmp/commander \
&& find /tmp/commander- -name 'Commander_linux_x86_64*' -exec tar -xvjf {} -C /tmp/commander \; \
&& rm /tmp/commander/*.tar.bz \
&& rm ./tmp/commander.zip \
&& ls -lR /tmp/commander \
RUN wget https://www.silabs.com/documents/login/software/SimplicityCommander-Linux.zip \
&& unzip ./SimplicityCommander-Linux.zip -d /tmp \
&& find /tmp/SimplicityCommander-Linux -name 'Commander_linux_x86_64*' -exec tar -xvjf {} -C /tmp/SimplicityCommander-Linux \; \
&& rm ./SimplicityCommander-Linux.zip \
&& : # last line

# Download Simplicity SDK v2024.6.1 (a1a37fa)
Expand Down Expand Up @@ -74,13 +72,13 @@ RUN set -x \
ENV SISDK_ROOT=/opt/silabs/simplicity_sdk/
ENV WISECONNECT_SDK_ROOT=/opt/silabs/wiseconnect-wifi-bt-sdk/
ENV WIFI_SDK_ROOT=${SISDK_ROOT}/extension/wiseconnect
ENV POST_BUILD_EXE=/opt/silabs/SimplicityCommander/commander
ENV POST_BUILD_EXE=/opt/silabs/SimplicityCommander/commander/commander/commander/commander
ENV PATH="${PATH}:/opt/silabs/slc_cli/"
ENV ARM_GCC_DIR="/opt/silabs/arm-gcc-dir/"
ENV PATH="${PATH}:${ARM_GCC_DIR}/bin"

COPY --from=build /tmp/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi ${ARM_GCC_DIR}
COPY --from=build /tmp/commander /opt/silabs/SimplicityCommander/
COPY --from=build /tmp/SimplicityCommander-Linux /opt/silabs/SimplicityCommander/
COPY --from=build /tmp/simplicity_sdk ${SISDK_ROOT}
COPY --from=build /tmp/wiseconnect-wifi-bt-sdk/ ${WISECONNECT_SDK_ROOT}
COPY --from=build /tmp/wifi_sdk ${WIFI_SDK_ROOT}
Expand Down

0 comments on commit cf7e846

Please sign in to comment.