aboutsummaryrefslogblamecommitdiffhomepage
path: root/content/20191027-kernel-debugging-qemu/Dockerfile
blob: 42e1f0517e44679a318576546d65e83220bae65e (plain) (tree)































                                                      
FROM ubuntu:20.04
MAINTAINER Johannes Stoelp <johannes.stoelp@gmail.edu>

RUN apt update                     \
 && DEBIAN_FRONTEND=noninteractive \
    apt install                    \
      --yes                        \
      --no-install-recommends      \
      # Download & unpack.
      wget                         \
      ca-certificates              \
      xz-utils                     \
      # Build tools & deps (kernel).
      make                         \
      bc                           \
      gcc g++                      \
      flex bison                   \
      libelf-dev                   \
      # Build tools & deps (initrd).
      cpio                         \
      # Run & debug.
      qemu-system-x86              \
      gdb                          \
      telnet                       \
      # Convenience.
      ripgrep                      \
      fd-find                      \
      neovim                       \
 && rm -rf /var/lib/apt/lists/*    \
 && apt-get clean

WORKDIR /develop