* fix(setup): verify provisioning and runtime readiness * feat: add explicit per-user uninstall and purge * fix: restore niri input and provide native capture and tray * fix(build): declare Wayland scanner and release dependencies
22 lines
647 B
Docker
22 lines
647 B
Docker
FROM alpine:edge AS build
|
|
|
|
RUN apk add --no-cache \
|
|
bash cargo rust gcc musl-dev pipewire-dev wayland-dev pkgconf \
|
|
mingw-w64-gcc mingw-w64-binutils
|
|
|
|
WORKDIR /src
|
|
COPY . .
|
|
RUN --mount=type=cache,target=/root/.cargo/registry \
|
|
--mount=type=cache,target=/src/target \
|
|
cargo test --release --locked \
|
|
&& cargo build --release --locked \
|
|
&& ./hook/build.sh \
|
|
&& ./capture/build.sh \
|
|
&& ./packaging/stage.sh /out
|
|
|
|
FROM alpine:edge
|
|
RUN apk add --no-cache \
|
|
bash ca-certificates curl glib pipewire-libs wayland-libs-client pulseaudio-utils wine xdg-desktop-portal
|
|
COPY --from=build /out/ /
|
|
ENTRYPOINT ["/usr/bin/uur"]
|