summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: c524878daba1a465e8a29708e90a642064f05029 (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
FROM debian:11.8

# Install minimal dependencies
RUN apt-get update && apt-get install -y \
    ansible \
    python3

# Install required packages (from ansible role "install-packages")
RUN apt-get update && apt-get install -y \
    gdisk \
    kpartx \
    dosfstools \
    e2fsprogs \
    gnupg \
    qemu-utils \
    python3-lxml \
    grub-efi-amd64 \
    grub-efi-amd64-bin \
    grub-common \
    isolinux \
    python3-requests \
    rsync \
    unzip \
    zlib1g-dev \
    squashfs-tools \
    xorriso

# Install not required dependencies
RUN apt-get install -y \
    git \
    mc \
    nano \
    && rm -rf /var/lib/apt/lists/*

# Make build directory
RUN mkdir -p /home/build
WORKDIR /home/build