mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 02:20:29 +00:00
tools: docker: focal: update to using gcc-10
This commit is contained in:
parent
848a36ff82
commit
1dd7f1bc24
@ -18,13 +18,17 @@ RUN adduser --disabled-password --gecos '' docker \
|
||||
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip unzip diffutils lzop make file \
|
||||
g++ xfonts-utils xsltproc default-jre-headless python3 \
|
||||
libc6-dev libncurses5-dev \
|
||||
libjson-perl libxml-parser-perl libparse-yapp-perl \
|
||||
golang-go \
|
||||
git openssh-client \
|
||||
wget bash bc gcc-10 sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip \
|
||||
unzip diffutils lzop make file g++-10 xfonts-utils xsltproc default-jre-headless python3 \
|
||||
libc6-dev libncurses5-dev libjson-perl libxml-parser-perl libparse-yapp-perl \
|
||||
golang-go git openssh-client \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 \
|
||||
--slave /usr/bin/cpp cpp /usr/bin/cpp-10 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-10 \
|
||||
--slave /usr/bin/gcov gcov /usr/bin/gcov-10
|
||||
RUN update-alternatives --config gcc
|
||||
|
||||
USER docker
|
||||
|
Loading…
Reference in New Issue
Block a user