diff --git a/Dockerfile b/Dockerfile index 5dd8afe..74c91dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \