File: Dockerfile-debian

package info (click to toggle)
dracut 109-9
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,872 kB
  • sloc: sh: 24,527; ansic: 5,234; makefile: 346; perl: 186; python: 48; javascript: 19
file content (98 lines) | stat: -rw-r--r-- 2,128 bytes parent folder | download | duplicates (3)
1
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Test coverage provided by this container:
# - 3cpio
# - arm64
# - dash default shell (instead of bash)
# - curl (url-lib)
# - mawk (instead of gawk)
# - zstd compression
# - verbose logging for tests
# - dbus-daemon
# - network: network-manager, systemd-networkd

ARG DISTRIBUTION=debian
FROM docker.io/${DISTRIBUTION}

# export ARG
ARG DISTRIBUTION

# Install dracut as a linux-initramfs-tool provider so that the default initramfs-tool package does not get installed
RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --install-recommends dracut dracut-network dracut-squash dracut-live

# Install 3cpio where available
RUN if [ "$DISTRIBUTION" != "debian:latest" ] ; then \
    DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
    3cpio \
    ; fi

RUN \
    DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
    asciidoctor \
    bluez \
    btrfs-progs \
    ca-certificates \
    cargo \
    console-data \
    cpio \
    cryptsetup \
    curl \
    dnsmasq \
    docbook \
    docbook-xml \
    docbook-xsl \
    erofs-utils \
    fdisk \
    file \
    gcc \
    gpg \
    iputils-arping \
    iputils-ping \
    iproute2 \
    isc-dhcp-server \
    iscsiuio \
    jq \
    kbd \
    kmod \
    libfido2-1 \
    libkmod-dev \
    libsystemd-dev \
    linux-image-generic \
    lvm2 \
    make \
    mdadm \
    multipath-tools \
    nbd-client \
    nbd-server \
    network-manager \
    nfs-kernel-server \
    ntfs-3g \
    nvme-cli \
    open-iscsi \
    ovmf \
    parted \
    pcscd \
    pkg-config \
    plymouth-themes \
    procps \
    qemu-efi-aarch64 \
    qemu-kvm \
    qemu-system \
    rng-tools5 \
    squashfs-tools \
    swtpm \
    systemd-boot-efi \
    systemd-container \
    systemd-coredump \
    systemd-cryptsetup \
    systemd-repart \
    systemd-resolved \
    systemd-sysv \
    systemd-timesyncd \
    systemd-ukify \
    tgt \
    thin-provisioning-tools \
    tpm2-tools \
    util-linux-extra \
    xfsprogs \
    xorriso \
    zstd \
    && apt-get clean