Skip to content

Instantly share code, notes, and snippets.

@tzickel
tzickel / Dockerfile
Last active April 1, 2021 10:33
Running SerenityOS inside a Docker container
FROM archlinux
# Temporary patch for support old docker versions (like the default one in ubunutu 18.04)
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
bsdtar -C / -xvf "$patched_glibc"
RUN pacman -Syyu --noconfirm && pacman-db-upgrade && pacman -S --noconfirm --needed base-devel cmake curl mpfr libmpc gmp e2fsprogs ninja qemu qemu-arch-extra git pulseaudio-alsa
RUN git clone https://github.com/bestouff/genext2fs