summaryrefslogtreecommitdiffstats
path: root/test/container/Dockerfile-alpine
blob: 4f28c95eecb0d4ce68a68fd84c772b032ca3e69a (plain)
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
FROM docker.io/alpine:latest

RUN apk add --no-cache \
    alpine-sdk \
    asciidoc \
    bash \
    binutils \
    blkid \
    btrfs-progs \
    busybox \
    bzip2 \
    cargo \
    coreutils \
    cpio \
    cryptsetup \
    curl \
    dash \
    dhclient \
    dmraid \
    dosfstools \
    e2fsprogs \
    eudev \
    findmnt \
    gawk \
    git \
    gpg \
    grep \
    iputils \
    kbd \
    kmod-dev \
    linux-virt \
    losetup \
    lvm2 \
    make \
    mdadm \
    mtools \
    multipath-tools \
    musl-fts-dev \
    nbd \
    ntfs-3g-progs \
    open-iscsi \
    openssh \
    parted \
    partx \
    pigz \
    procps \
    qemu-img \
    qemu-system-x86_64 \
    rng-tools \
    sed \
    sfdisk \
    squashfs-tools \
    sudo \
    util-linux-misc \
    xz

RUN \
  cp /usr/lib/udev/rules.d/* /lib/udev/rules.d/ && \
  ln -sf /sbin/poweroff /sbin/shutdown && \
  ln -sf /usr/bin/dash /bin/dash && \
  ln -sf /bin/sh /usr/bin/sh && \
  ln -sf /boot/vmlinuz-virt /boot/vmlinuz-$(cd /lib/modules; ls -1 | tail -1)