chore: remove build steps in containerfile

- also removes ublue-update rpm, this isn't used in the installer, the copr repo is
This commit is contained in:
xynydev 2024-01-27 17:49:52 +02:00
parent c48217b54d
commit 577c2e9ec5

View file

@ -1,15 +1,3 @@
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