Dockerfile 1.26 KB
Newer Older
1 2
# no comment again

3
FROM debian:buster-slim
4 5 6 7 8 9 10 11 12 13 14 15

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 \
16 17 18 19
    automake \
    autoconf \
    asciidoc-base \
    bc \
20
    build-essential \
21 22
    bison \
    cpio \
23 24 25
    debhelper \
    dh-exec \
    flex \
26
    gcc-7 \
27
    git \
28
    gcc-multilib \
29 30
    kernel-wedge \
    kmod \
31 32 33 34 35
    libaudit-dev \
    libbabeltrace-dev \
    libbabeltrace-ctf-dev \
    libdw-dev \
    libelf-dev \
36
    libglib2.0-dev \
37 38 39
    libiberty-dev \
    libnewt-dev \
    libnuma-dev \
40
    libpci-dev \
41
    libperl-dev \
42
    libssl-dev:native \
43 44
    libtool \
    libudev-dev \
45
    libunwind8-dev \
46
    libwrap0-dev \
47 48
    python-dev \
    xmlto
49 50 51

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

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