1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:27:45 +00:00

Toolchain: Update Dockerfile to ubuntu:21.10

This commit is contained in:
Jelle Raaijmakers 2021-11-17 00:54:01 +01:00 committed by Linus Groh
parent c0a7e0ad23
commit b7bf1a4330

View file

@ -1,4 +1,4 @@
FROM ubuntu:21.04 FROM ubuntu:21.10
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
@ -8,6 +8,8 @@ RUN apt-get update -y \
ccache \ ccache \
cmake \ cmake \
curl \ curl \
g++-10 \
gcc-10 \
genext2fs \ genext2fs \
gettext \ gettext \
git \ git \
@ -22,9 +24,9 @@ RUN apt-get update -y \
sudo \ sudo \
tzdata \ tzdata \
unzip \ unzip \
wget wget \
RUN apt install gcc-10 g++-10; \ && 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-10 900 --slave /usr/bin/g++ g++ /usr/bin/g++-10
RUN git clone --depth 1 https://github.com/SerenityOS/serenity.git /serenity/serenity-git RUN git clone --depth 1 https://github.com/SerenityOS/serenity.git /serenity/serenity-git
RUN cd /serenity/serenity-git/Toolchain; \ RUN cd /serenity/serenity-git/Toolchain; \