ladybird/Toolchain/Dockerfile

35 lines
803 B
Docker
Raw Normal View History

FROM ubuntu:21.04
2020-05-21 23:04:07 +03:00
ENV DEBIAN_FRONTEND=noninteractive
2020-05-21 23:04:07 +03:00
RUN apt-get update -y \
&& apt-get install -y \
build-essential \
ccache \
cmake \
curl \
genext2fs \
gettext \
git \
imagemagick \
libmpfr-dev \
libmpc-dev \
libgmp-dev \
e2fsprogs \
ninja-build \
qemu-utils \
rsync \
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
2020-05-21 23:04:07 +03:00
RUN git clone --depth 1 https://github.com/SerenityOS/serenity.git /serenity/serenity-git
RUN cd /serenity/serenity-git/Toolchain; \
./BuildIt.sh
2020-05-21 23:04:07 +03:00
WORKDIR /serenity
VOLUME /serenity/out