-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathContainerfile
More file actions
34 lines (34 loc) · 1.11 KB
/
Copy pathContainerfile
File metadata and controls
34 lines (34 loc) · 1.11 KB
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
FROM quay.io/fedora/fedora-silverblue:44
COPY /etc /etc
COPY /usr /usr
COPY . .
RUN \
# git main bootc from copr
dnf -y update bootc && \
dnf -y install \
# sign git tags for releases
git-evtag pinentry \
# kerberos auth
krb5-workstation \
# smb mounts
cifs-utils \
# system performance
btop tuned \
# search tool
ripgrep \
# preffered tools
util-linux-user fish make xsel tmux neovim \
# logitech mouse/keyboard pairing & apple superdrive
solaar sg3_utils \
# Virt stack
libvirt-daemon-config-network libvirt-daemon-kvm qemu-kvm libguestfs-tools virt-resize \
genisoimage virt-install virt-manager virt-viewer virtiofsd && \
# clean up
dnf clean all && rm -rf /var/* && \
# Rebuild initramfs with ostree, lvm, crypt modules and thunderbolt udev rule
mkdir -p /var/tmp && \
kver=$(ls /usr/lib/modules) && \
dracut --verbose --force --reproducible \
--install "/etc/udev/rules.d/98-thunderbolt.rules" \
"/usr/lib/modules/${kver}/initramfs.img" "${kver}" && \
rm -rf /var/tmp && rm -rf /workdir && bootc container lint