1
0
Fork 0

Move Dockerfile to Dockerfile.kde

Allows for multiple Dockerfiles to co-exist, this will allow me to build a separate image with nvidia drivers.
This commit is contained in:
ver4a 2024-11-09 10:19:00 +01:00
parent 0625bd7fbe
commit e523bed787
2 changed files with 1 additions and 1 deletions

27
Dockerfile.kde Normal file
View file

@ -0,0 +1,27 @@
FROM quay.io/fedora-ostree-desktops/kinoite:41
# Remove firefox
RUN rpm-ostree override remove firefox firefox-langpacks
# Add rpmfusion repositories
RUN rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Install ffmpeg (removing all the -free replacements is required)
RUN rpm-ostree override remove libavcodec-free libavfilter-free libpostproc-free libswresample-free libswscale-free libavutil-free libavformat-free ffmpeg-free libavdevice-free --install=ffmpeg
# Bulk of layered packages
RUN rpm-ostree install virt-manager vim neovim bat btop butane coreos-installer nmap pv restic zstd
RUN systemctl enable libvirtd
# Set vim as default editor
RUN rpm-ostree override remove nano-default-editor --install vim-default-editor
# Remove default color prompt (is replaced with a custom one)
RUN rpm-ostree override remove bash-color-prompt
# Remove rpm metadata cache
RUN rpm-ostree cleanup --repomd
# https://github.com/ostreedev/ostree-rs-ext/issues/159
RUN ostree container commit