Dockerfile 1.24 KB
Newer Older
1
FROM debian:buster-slim
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 35 36 37 38 39 40 41 42 43 44

ARG DEBIAN_FRONTEND=noninteractive

# Docker for Jenkins really needs procps otherwise the Jenkins side fails
RUN apt-get update && apt-get install --no-install-recommends -y procps

# Set HOME to a writable directory in case something wants to cache things
# (e.g. obs)
ENV HOME=/tmp

# Kernel build-depends
RUN apt-get update && apt-get install --no-install-recommends -y \
    build-essential \
    debhelper \
    dh-exec \
    cpio \
    kernel-wedge \
    kmod \
    bc \
    libssl-dev:native \
    asciidoc-base \
    xmlto \
    bison \
    flex \
    gcc-multilib \
    libaudit-dev \
    libbabeltrace-dev \
    libbabeltrace-ctf-dev \
    libdw-dev \
    libelf-dev \
    libiberty-dev \
    libnewt-dev \
    libnuma-dev \
    libperl-dev \
    libunwind8-dev \
    python-dev \
    autoconf \
    automake \
    libtool \
    libglib2.0-dev \
    libudev-dev \
    libwrap0-dev \
    libpci-dev \
45
    gcc \
46 47 48 49 50 51 52 53 54 55 56 57
    git

# Cross-compiler toolchains
RUN apt-get update && apt-get install --no-install-recommends -y \
    gcc-arm-linux-gnueabihf \
    gcc-aarch64-linux-gnu

# Other tools needed to upload the artifacts from Jenkins
RUN apt-get update && apt-get install --no-install-recommends -y \
    ssh \
    rsync \
    libnss-wrapper