File: Dockerfile-azurelinux

package info (click to toggle)
dracut 109-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,872 kB
  • sloc: sh: 24,527; ansic: 5,234; makefile: 346; perl: 186; python: 48; javascript: 19
file content (63 lines) | stat: -rw-r--r-- 1,298 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
FROM mcr.microsoft.com/azurelinux/base/core:3.0

ARG PLATFORM=linux/amd64

RUN \
if [[ "${PLATFORM}" =~ "amd64" ]]; then \
    tdnf -y install --setopt=install_weak_deps=False \
        systemd-boot \
        systemd-ukify \
; fi

RUN tdnf -y install --setopt=install_weak_deps=False \
    bash-completion \
    bluez \
    btrfs-progs \
    cargo \
    chrony \
    cifs-utils \
    cryptsetup \
    dhcpcd \
    dnsmasq \
    e2fsprogs \
    fuse3 \
    gcc \
    iproute \
    iputils \
    iscsi-initiator-utils \
    jq \
    kbd \
    kexec-tools \
    kernel \
    kmod-devel \
    libkcapi-hmaccalc \
    libselinux-utils \
    lvm2 \
    make \
    mdadm \
    nbd \
    ndctl \
    nfs-utils \
    nvme-cli \
    parted \
    pcsc-lite \
    qemu \
    qemu-kvm \
    rng-tools \
    rubygem-asciidoctor \
    rsyslog \
    squashfs-tools \
    swtpm \
    systemd-devel \
    systemd-resolved \
    tar \
    tpm2-tools \
    xfsprogs \
    xorriso \
    && tdnf clean all

# disable systemd-portabled - it is optional and allows to pass the CI
# disable multipath dracut module - it interferes with the CI on azurelinux
RUN \
    rm -rf /usr/bin/portablectl /usr/lib/systemd/systemd-portabled ;\
    echo 'omit_dracutmodules+=" multipath "' > /usr/lib/dracut/dracut.conf.d/02-dist.conf