Browse Source

Toolchain: Update Dockerfile to use gcc 11 and add texinfo package

Missed this in the gcc 11 version update, but if anyone is using this
then they'll need gcc 11 to build Lagom.
Andrew Kaster 3 years ago
parent
commit
76e99fa6c8
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Toolchain/Dockerfile

+ 4 - 3
Toolchain/Dockerfile

@@ -8,8 +8,8 @@ RUN apt-get update -y \
         ccache \
         ccache \
         cmake \
         cmake \
         curl \
         curl \
-        g++-10 \
-        gcc-10 \
+        g++-11 \
+        gcc-11 \
         e2fsprogs \
         e2fsprogs \
         genext2fs \
         genext2fs \
         git \
         git \
@@ -25,7 +25,8 @@ RUN apt-get update -y \
         qemu-utils \
         qemu-utils \
         rsync \
         rsync \
         sudo \
         sudo \
+        texinfo \
         tzdata \
         tzdata \
         unzip \
         unzip \
     && rm -rf /var/lib/apt/lists/ \
     && rm -rf /var/lib/apt/lists/ \
-    && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 900 --slave /usr/bin/g++ g++ /usr/bin/g++-10
+    && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 900 --slave /usr/bin/g++ g++ /usr/bin/g++-11