You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install dev packages and tools, clean dnf cache to save space
174
+
# Install dev packages and tools, clean dnf cache to save space. Also install
175
+
# gcc-12.2.1
175
176
RUN dnf --setopt=group_package_types=mandatory \
176
177
groupinstall --nodocs -y "Development Tools" \
177
178
&& dnf install --nodocs -y \
@@ -181,10 +182,34 @@ RUN dnf --setopt=group_package_types=mandatory \
181
182
vim \
182
183
which \
183
184
gnupg2 \
185
+
gcc-toolset-12 \
184
186
&& dnf clean all \
185
187
&& rm -rf /var/cache/yum \
186
188
&& rm -rf /var/cache/dnf
187
189
190
+
# Configure versions of gcc. Default is 12.2.1, but gcc-12, gcc-12.2, gcc-12.2.1, gcc-8, gcc-8.5, gcc-8.5.0, gcc-6, gcc-6.2, gcc-6.2.0 should all work as expected
191
+
192
+
RUN ln -s /opt/rh/gcc-toolset-12/root/bin/gcc gcc \
0 commit comments