particle-os-modules/Containerfile
xynydev 858d3aa738 chore: disable the wallpaper builds for now
this is a nightmare to poke around in blindly, lets see where #104 goes
2024-01-24 19:13:41 +02:00

15 lines
No EOL
658 B
Docker

FROM registry.fedoraproject.org/fedora:latest AS builder
RUN dnf update -y && dnf install --disablerepo='*' --enablerepo='fedora,updates' --setopt install_weak_deps=0 --nodocs --assumeyes git wget unzip make rpm-build && dnf clean all
RUN mkdir -p /tmp/ublue-os/{rpms,build}
COPY build /tmp/ublue-os/build
# TODO: Eventually make this more flexible to include more projects
# RUN cd /tmp/ublue-os/build/backgrounds && make && cp /tmp/ublue-os/rpmbuild/RPMS/noarch/*.rpm /tmp/ublue-os/rpms
FROM scratch
COPY --from=builder /tmp/ublue-os/rpms /rpms
COPY --from=ghcr.io/ublue-os/ublue-update:latest /rpms/ublue-update.noarch.rpm /rpms
COPY modules /modules