ladybird/Toolchain/Dockerfile
Linus Groh bc2ebcadc0 Everywhere: Require version >= 12 for GCC host compiler
So far we've gotten away with using GCC 11 for Lagom and to compile the
toolchain, but via #15795 we discovered a compiler bug that has been
fixed in the latest version but would error the build with CI's GCC 11.
Time for an upgrade :^)

We already use ubuntu-22.04 images in most places, so this is pretty
straightforward. The only exception is Idan's self-hosted runner, which
uses Ubuntu Focal. LibJS should build fine with GCC 11, still.
2022-10-25 23:15:51 +01:00

33 lines
732 B
Docker

FROM ubuntu:22.10
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y \
&& apt-get install -y \
build-essential \
ccache \
cmake \
curl \
g++-12 \
gcc-12 \
e2fsprogs \
genext2fs \
git \
imagemagick \
libgmp-dev \
libgtk-3-dev \
libmpc-dev \
libmpfr-dev \
libpixman-1-dev \
libsdl2-dev \
libspice-server-dev \
ninja-build \
qemu-utils \
rsync \
sudo \
texinfo \
tzdata \
unzip \
&& rm -rf /var/lib/apt/lists/ \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 900 --slave /usr/bin/g++ g++ /usr/bin/g++-12