瀏覽代碼

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 年之前
父節點
當前提交
76e99fa6c8
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      Toolchain/Dockerfile

+ 4 - 3
Toolchain/Dockerfile

@@ -8,8 +8,8 @@ RUN apt-get update -y \
         ccache \
         cmake \
         curl \
-        g++-10 \
-        gcc-10 \
+        g++-11 \
+        gcc-11 \
         e2fsprogs \
         genext2fs \
         git \
@@ -25,7 +25,8 @@ RUN apt-get update -y \
         qemu-utils \
         rsync \
         sudo \
+        texinfo \
         tzdata \
         unzip \
     && 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