19 lines
786 B
Docker
19 lines
786 B
Docker
ARG FEDORA_MAJOR_VERSION=37
|
|
|
|
FROM ghcr.io/cgwalters/fedora-silverblue:${FEDORA_MAJOR_VERSION}
|
|
# See https://pagure.io/releng/issue/11047 for final location
|
|
|
|
COPY etc /etc
|
|
|
|
COPY ublue-firstboot /usr/bin
|
|
|
|
# Fix rpm-ostree, see: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4ad713eb82
|
|
RUN rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/rpm-ostree/2022.19/2.fc37/x86_64/rpm-ostree-{libs-,}2022.19-2.fc37.x86_64.rpm
|
|
|
|
RUN rpm-ostree override remove firefox firefox-langpacks && \
|
|
rpm-ostree install distrobox gnome-tweaks && \
|
|
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
|
|
systemctl enable rpm-ostreed-automatic.timer && \
|
|
systemctl enable flatpak-automatic.timer && \
|
|
ostree container commit
|