Upgrade gcc to v11
This commit is contained in:
1 parent
20827abbcc
commit
6c60f66bcb
1 file changed
+6
-2
+6
-2
@@ -18,6 +18,11 @@ RUN \
|
||||
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
|
||||
apt update
|
||||
|
||||
# Add ubuntu-toolchain repo to get g++-11
|
||||
RUN \
|
||||
add-apt-repository ppa:ubuntu-toolchain-r/test && \
|
||||
apt-get update
|
||||
|
||||
# add the latest node repository to apt sources (npm in the standard bionic apt
|
||||
# repostitory depends on libssl1.0-dev, but emumba depends on libssl-dev, so a
|
||||
# the latest npm must be installed to avoid this dependency conflict
|
||||
@@ -43,8 +48,7 @@ RUN \
|
||||
bison \
|
||||
autopoint \
|
||||
gettext \
|
||||
g++ \
|
||||
gcc \
|
||||
g++-11 \
|
||||
gdb \
|
||||
git \
|
||||
glibc-source \
|
||||
|
||||
Reference in new issue
Block a user