initial commit
This commit is contained in:
76
Containerfile
Normal file
76
Containerfile
Normal file
@@ -0,0 +1,76 @@
|
||||
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/plymouth.script /usr/share/plymouth/themes/neko/neko.script
|
||||
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 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
|
||||
Reference in New Issue
Block a user