Enable automatic updates

This commit is contained in:
Anders da Silva Rytter Hansen 2026-01-16 11:42:03 -03:00
commit 6edd7c97f8

View file

@ -47,5 +47,9 @@ COPY usr /usr
RUN cd /usr/bin && wget https://raw.githubusercontent.com/CachyOS/CachyOS-Settings/refs/heads/master/usr/bin/kerver && chmod +x kerver
# Enable automatic updates
RUN sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf
RUN systemctl enable rpm-ostreed-automatic.timer
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
bootc container lint