87 lines
3.2 KiB
Docker
87 lines
3.2 KiB
Docker
ARG FEDORA_VERSION=43
|
|
FROM quay.io/fedora/fedora-silverblue:${FEDORA_VERSION}
|
|
ARG FEDORA_VERSION
|
|
|
|
COPY packages.txt /tmp/packages.txt
|
|
COPY branding/wallpaper.png /usr/share/backgrounds/neko-wallpaper.png
|
|
COPY branding/logo.png /usr/share/plymouth/themes/neko/logo.png
|
|
COPY branding/neko_logo_outline.png /usr/share/pixmaps/fedora-gdm-logo.png
|
|
COPY branding/neko_logo_outline.png /usr/share/pixmaps/fedora-logo.png
|
|
COPY branding/neko_logo_outline.png /usr/share/pixmaps/fedora_logo_med.png
|
|
COPY branding/neko_logo_outline.png /usr/share/pixmaps/fedora-logo-small.png
|
|
COPY branding/neko_logo.png /usr/share/pixmaps/fedora_whitelogo_med.png
|
|
COPY branding/logo.png system-logo-white.png
|
|
COPY branding/logo.png fedora-logo-sprite.png
|
|
#COPY branding/plymouth.script /usr/share/plymouth/themes/neko/neko.script
|
|
COPY branding/neko_watermark.png /usr/share/plymouth/themes/spinner/watermark.png
|
|
COPY files/neko-initramfs-firstboot.service /usr/lib/systemd/system/neko-initramfs-firstboot.service
|
|
|
|
#RUN mkdir -p /usr/share/plymouth/themes/neko && \
|
|
# printf '%s\n' \
|
|
# "[Plymouth Theme]" \
|
|
# "Name=neko" \
|
|
# "Description=neko system boot splash" \
|
|
# "ModuleName=script" \
|
|
# \
|
|
# "[script]" \
|
|
# "ImageDir=/usr/share/plymouth/themes/neko" \
|
|
# "ScriptFile=/usr/share/plymouth/themes/neko/neko.script" \
|
|
# > /usr/share/plymouth/themes/neko/neko.plymouth
|
|
|
|
#RUN dnf install -y plymouth-plugin-script && \
|
|
# dnf clean all && \
|
|
# plymouth-set-default-theme neko
|
|
|
|
RUN systemctl enable neko-initramfs-firstboot.service
|
|
|
|
RUN dnf install -y \
|
|
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm \
|
|
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm \
|
|
&& dnf clean all
|
|
|
|
RUN dnf config-manager addrepo --from-repofile=https://repo.librewolf.net/librewolf.repo
|
|
|
|
RUN dnf copr enable alternateved/keyd -y
|
|
|
|
RUN dnf remove -y firefox
|
|
|
|
RUN dnf install -y $(cat /tmp/packages.txt) && \
|
|
dnf clean all
|
|
|
|
RUN systemctl enable bootc-fetch-apply-updates.timer
|
|
|
|
# Create dconf profile
|
|
RUN mkdir -p /etc/dconf/profile /etc/dconf/db/local.d && \
|
|
printf '%s\n' \
|
|
'user-db:user' \
|
|
'system-db:local' \
|
|
> /etc/dconf/profile/user
|
|
|
|
# GNOME defaults
|
|
RUN printf '%s\n' \
|
|
'[org/gnome/desktop/wm/preferences]' \
|
|
"button-layout='close,minimize,maximize:appmenu'" \
|
|
> /etc/dconf/db/local.d/00-neko-gnome && \
|
|
dconf update
|
|
|
|
RUN mkdir -p /etc/dconf/db/local.d && \
|
|
printf '%s\n' \
|
|
'[org/gnome/desktop/background]' \
|
|
"picture-uri='file:///usr/share/backgrounds/neko-wallpaper.png'" \
|
|
"picture-uri-dark='file:///usr/share/backgrounds/neko-wallpaper.png'" \
|
|
> /etc/dconf/db/local.d/01-neko-background
|
|
|
|
RUN printf '%s\n' \
|
|
"NAME=\"neko//system\"" \
|
|
"PRETTY_NAME=\"neko//system ${FEDORA_VERSION}\"" \
|
|
"ID=fedora" \
|
|
"VERSION_ID=\"${FEDORA_VERSION}\"" \
|
|
"VERSION=\"${FEDORA_VERSION}\"" \
|
|
"ID_LIKE=\"fedora\"" \
|
|
"ANSI_COLOR=\"0;38;2;60;110;180\"" \
|
|
"HOME_URL=\"https://fedoraproject.org/\"" \
|
|
"DOCUMENTATION_URL=\"https://docs.fedoraproject.org/\"" \
|
|
"SUPPORT_URL=\"https://ask.fedoraproject.org/\"" \
|
|
"BUG_REPORT_URL=\"https://bugzilla.redhat.com/\"" \
|
|
> /etc/os-release
|