File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed
Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ RUN set -ex \
4747 build-essential \
4848 coreutils \
4949 gcc \
50- gcc-multilib \
5150 gcovr \
5251 gdb \
5352 git-all \
@@ -119,6 +118,15 @@ RUN set -ex \
119118 && bundle install --gemfile=/assets/base/gems/Gemfile \
120119 && rm .gemrc
121120
121+ # gcc-multilib for processor architectures is only available for AMD64 image builds
122+ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then set -ex \
123+ && apt update \
124+ && apt install -y \
125+ gcc-multilib \
126+ --no-install-recommends \
127+ && apt clean \
128+ && rm -rf /var/lib/apt/lists/* ; fi
129+
122130# Microsoft Dotnet installation to support `reportgenerator` for `gcov` plugin
123131# Only available on AMD64 image builds
124132RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then set -ex \
Original file line number Diff line number Diff line change 1+
2+ # gcc-multilib for processor architectures is only available for AMD64 image builds
3+ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then set -ex \
4+ && apt update \
5+ && apt install -y \
6+ gcc-multilib \
7+ --no-install-recommends \
8+ && apt clean \
9+ && rm -rf /var/lib/apt/lists/* ; fi
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ RUN set -ex \
4747 build-essential \
4848 coreutils \
4949 gcc \
50- gcc-multilib \
5150 gdb \
5251 libc-dev \
5352 locales \
@@ -103,6 +102,15 @@ RUN set -ex \
103102 && bundle install --gemfile=/assets/base/gems/Gemfile \
104103 && rm .gemrc
105104
105+ # gcc-multilib for processor architectures is only available for AMD64 image builds
106+ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then set -ex \
107+ && apt update \
108+ && apt install -y \
109+ gcc-multilib \
110+ --no-install-recommends \
111+ && apt clean \
112+ && rm -rf /var/lib/apt/lists/* ; fi
113+
106114
107115# #
108116# # Permissions Security & Cleanup
Original file line number Diff line number Diff line change 11
22- gcc # GNU Compiler Collection
33- libc-dev # Common C development packages
4- - gcc-multilib # Processor architectures
54- gdb # Debugger (for Ceedling `backtrace` feature)
You can’t perform that action at this time.
0 commit comments