File: Dockerfile-alpine

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 (45 lines) | stat: -rw-r--r-- 1,153 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
# Test coverage provided by this container:
# - default hostonly
# - musl (instead of glibc)
# - openrc (instead of systemd)
# - eudev (instead of systemd-udev)
# - elogind (instead of logind)
# - busybox default shell (no dash installed)
# - gzip compression
# - dbus-daemon
# - network: networkmanager

# Not installed
# - cargo (to increase coverage)
# - dash (to increase coverage)
# - ntfs-3g (not enabled with linux-virt)
# - erofs-utils (not enabled with linux-virt)
# - multipath-tools (does not work well)
# - ovmf (systemd-boot-efistub, UEFI, UKI is not available)
# - kernel-install is not available

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

# export ARG
ARG DISTRIBUTION

# Packages to pass the BASIC test
# Use dracut-tests package to install dependencies for test suite
RUN apk add --no-cache \
    asciidoctor \
    dracut-tests \
    file \
    gcc \
    kmod \
    kmod-dev \
    linux-virt \
    make \
    musl-dev \
    musl-fts-dev

# Packages for recent changes that are not yet released or packaged by dracut-tests
RUN apk add --no-cache \
    dnsmasq \
    networkmanager-cli \
    networkmanager-initrd-generator