blob: e7a794bc4179427e926931495736a5cd3f241250 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
FROM ubuntu:21.04
ENV DEBIAN_FRONTEND=noninteractive
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
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
|