summaryrefslogtreecommitdiff
path: root/Toolchain/Dockerfile
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-11-17 00:54:01 +0100
committerLinus Groh <mail@linusgroh.de>2021-11-20 21:16:51 +0000
commitb7bf1a4330f6fda7bcc0ea8222a732c12a8dab72 (patch)
treece2b4759bf2f96238379d9ee0caf38e9b5c3a213 /Toolchain/Dockerfile
parentc0a7e0ad23e7dfdda7309a2caaf14fa4a18274a5 (diff)
downloadserenity-b7bf1a4330f6fda7bcc0ea8222a732c12a8dab72.zip
Toolchain: Update Dockerfile to ubuntu:21.10
Diffstat (limited to 'Toolchain/Dockerfile')
-rw-r--r--Toolchain/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Toolchain/Dockerfile b/Toolchain/Dockerfile
index e7a794bc41..85aa705b40 100644
--- a/Toolchain/Dockerfile
+++ b/Toolchain/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:21.04
+FROM ubuntu:21.10
ENV DEBIAN_FRONTEND=noninteractive
@@ -8,6 +8,8 @@ RUN apt-get update -y \
ccache \
cmake \
curl \
+ g++-10 \
+ gcc-10 \
genext2fs \
gettext \
git \
@@ -22,9 +24,9 @@ RUN apt-get update -y \
sudo \
tzdata \
unzip \
- wget
-RUN apt install gcc-10 g++-10; \
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 900 --slave /usr/bin/g++ g++ /usr/bin/g++-10
+ wget \
+ && 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
RUN git clone --depth 1 https://github.com/SerenityOS/serenity.git /serenity/serenity-git
RUN cd /serenity/serenity-git/Toolchain; \