particle-os-modules/Containerfile
xynydev 49c6e57340 chore: remove fetch.sh
- i just noticed this is where the container tools for the container tools bling were coming from, but i already removed that...
- ig this wasn't the only place to get container tools
- the devpod bin wasn't used anywhere either and was locked to a specific version (that no-one maintained to update)
2024-01-24 18:23:37 +02:00

15 lines
No EOL
656 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