mirror-get-aurora-dev-common/Containerfile
2025-12-07 08:54:37 +02:00

28 lines
1,005 B
Docker

FROM docker.io/library/alpine:latest AS builder
RUN apk add --no-cache curl jq zstd tar coreutils
COPY --from=ghcr.io/ublue-os/aurora-wallpapers:latest / /wallpapers
RUN set -xeuo pipefail && \
cd /wallpapers && \
rm -rf kde/*/gnome-background-properties/ && \
mkdir -p /output/usr/share/wallpapers /output/usr/share/backgrounds && \
mv kde/ /output/usr/share/backgrounds/aurora/ && \
cd /output/usr/share/backgrounds && \
for dir in aurora/*; do \
ln -sr "/output/usr/share/backgrounds/${dir}" /output/usr/share/wallpapers/; \
done && \
ln -sr /output/usr/share/backgrounds/aurora/aurowa-wallpaper-6/ /output/usr/share/backgrounds/aurora/aurora-wallpaper-1 && \
ln -sr /output/usr/share/backgrounds/aurora/aurora-wallpaper-1/ /output/usr/share/wallpapers/ && \
rm -rf /wallpapers
FROM scratch AS ctx
COPY --from=builder /output/ /wallpapers
COPY /brew /brew
COPY /flatpaks /flatpaks
COPY /just /just
COPY /logos /logos
COPY /system_files /system_files