ladybird/Toolchain/Dockerfile
Jelle Raaijmakers 8744086781 Toolchain: Add Qemu build dependencies to Dockerfile
Also add `libsdl2-dev` as a required dependency and reorder the
list of packages passed to `apt-get`.
2021-11-20 21:16:51 +00:00

41 lines
942 B
Docker

FROM ubuntu:21.10
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y \
&& apt-get install -y \
build-essential \
ccache \
cmake \
curl \
g++-10 \
gcc-10 \
e2fsprogs \
genext2fs \
gettext \
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 \
tzdata \
unzip \
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; \
./BuildIt.sh
WORKDIR /serenity
VOLUME /serenity/out