Skip to content

Commit

Permalink
Clean up infineon, make the curl download to NOT be silent
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed May 28, 2024
1 parent ecff592 commit 7346363
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions integrations/docker/images/stage-2/chip-build-infineon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ LABEL org.opencontainers.image.source https://github.com/project-chip/connectedh

# ------------------------------------------------------------------------------
# Install prerequisites
RUN apt update -y \
&& apt install -y curl git make file libglib2.0-0 libusb-1.0-0 libncurses5 sudo \
&& apt clean
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --fix-missing --no-install-recommends \
curl \
git \
make \
file \
libglib2.0-0 \
libusb-1.0-0 sudo \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line

# ------------------------------------------------------------------------------
# Download and extract ModusToolbox 2.3
RUN curl --fail --location --silent --show-error https://itoolspriv.infineon.com/itbhs/api/packages/com.ifx.tb.tool.modustoolbox/Versions/2.4.0.5972-public/artifacts/ModusToolbox_2.4.0.5972-linux-install.tar.gz/download?noredirect -o /tmp/ModusToolbox_2.4.0.5972-linux-install.tar.gz \
RUN curl --fail --location --show-error \
https://itoolspriv.infineon.com/itbhs/api/packages/com.ifx.tb.tool.modustoolbox/Versions/2.4.0.5972-public/artifacts/ModusToolbox_2.4.0.5972-linux-install.tar.gz/download?noredirect \
-o /tmp/ModusToolbox_2.4.0.5972-linux-install.tar.gz \
&& tar -C /opt -zxf /tmp/ModusToolbox_2.4.0.5972-linux-install.tar.gz \
&& rm /tmp/ModusToolbox_2.4.0.5972-linux-install.tar.gz

Expand Down

0 comments on commit 7346363

Please sign in to comment.