#FROM quay.io/fedora/fedora-kinoite:latest
FROM quay.io/fedora/fedora-sericea:39
#FROM quay.io/fedora/fedora-coreos:testing-devel

COPY etc /etc
#COPY usr /usr

#RUN rpm-ostree install gnome-shell-extension-appindicator gnome-shell-extension-dash-to-dock yaru-theme && \
#    rpm-ostree cleanup -m && \
#    dconf update && \
#    fc-cache -f /usr/share/fonts/ubuntu && \
#    ostree container commit

# Software
RUN rpm-ostree install \
    htop \
    iotop \
    kate \
    && \
    rpm-ostree cleanup -m && \
    ostree container commit

#RUN flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
#    ostree container commit
#RUN flatpak install --system -y flathub \
#    com.bitwarden.desktop \
#    xyz.armcord.ArmCord \
#    com.discordapp.Discord \
#    org.kde.kdenlive \
#    com.spotify.Client \
#    org.gimp.GIMP \
#    com.nextcloud.desktopclient.nextcloud \
#    org.libreoffice.LibreOffice \
#    org.signal.Signal \
#    org.videolan.VLC && \
#    -y && \
#    ostree container commit


# Automatic updates
#RUN systemctl enable rpm-ostreed-automatic.timer && \
#    systemctl enable flatpak-automatic.timer && \
#    ostree container commit