feat: change file structure to make building RPMs possible + package wallpapers as RPM

This commit is contained in:
lili 2023-06-30 01:30:47 -03:00
parent 4b66171439
commit 9d26e2e7fb
No known key found for this signature in database
39 changed files with 7 additions and 4 deletions

View file

@ -1,15 +1,18 @@
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 && dnf clean all
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/files/usr && mkdir /tmp/ublue-os/rpms
COPY usr /tmp/ublue-os/files/usr
RUN mkdir -p /tmp/ublue-os/files/usr /tmp/ublue-os/{rpms,build}
COPY files /tmp/ublue-os/files
COPY build /tmp/ublue-os/build
ADD fetch.sh /tmp/fetch.sh
RUN chmod +x /tmp/fetch.sh && \
/tmp/fetch.sh
# 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/files /files

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB