Skip to content

Instantly share code, notes, and snippets.

@ADKaster
Created January 12, 2021 13:12
Show Gist options
  • Save ADKaster/f06014eb7bb8ff52b76e8debbfc13bb3 to your computer and use it in GitHub Desktop.
Save ADKaster/f06014eb7bb8ff52b76e8debbfc13bb3 to your computer and use it in GitHub Desktop.
simple serenity build dockerfile
FROM ubuntu:20.04
RUN apt update && \
apt-get install software-properties-common wget -y
RUN apt-get purge -y gcc-9 g++-9 libstdc++-9-dev clang-format-10 && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main" && \
apt update && \
apt install -y gcc-10 g++-10 clang-format-11 libstdc++-10-dev libmpfr-dev libmpc-dev ninja-build npm e2fsprogs qemu-system-i386 qemu-utils cmake
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment