summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 81c8df20bc5fc210819d635d5ec481a7567095b5 (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
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 \
    build-essential

# 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