Merge pull request #23840 from kitaisreal/gcc-10-installation-no-install-recommends-fix

gcc-10 installation no-install-reccomends option fix
This commit is contained in:
Maksim Kita 2021-05-01 18:26:20 +03:00 committed by GitHub
commit 2514233e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ RUN apt-get update \
RUN echo 'deb http://archive.ubuntu.com/ubuntu/ focal-proposed restricted main multiverse universe' > /etc/apt/sources.list.d/proposed-repositories.list RUN echo 'deb http://archive.ubuntu.com/ubuntu/ focal-proposed restricted main multiverse universe' > /etc/apt/sources.list.d/proposed-repositories.list
RUN apt-get update \ RUN apt-get update \
&& apt-get install gcc-10 g++-10 --yes && apt-get install gcc-10 g++-10 --yes --no-install-recommends
RUN rm /etc/apt/sources.list.d/proposed-repositories.list && apt-get update RUN rm /etc/apt/sources.list.d/proposed-repositories.list && apt-get update