Skip to content

Instantly share code, notes, and snippets.

@cwillsey06
Created January 1, 2023 02:40
Show Gist options
  • Select an option

  • Save cwillsey06/a460fa85f2a0698db8ca322675c3296d to your computer and use it in GitHub Desktop.

Select an option

Save cwillsey06/a460fa85f2a0698db8ca322675c3296d to your computer and use it in GitHub Desktop.
build swww-git
# syntax=docker/dockerfile:1.3
FROM fedora:latest AS build
RUN dnf install -y git-core rustc cargo libxkbcommon-*
RUN dnf clean all -y
WORKDIR /tmp
RUN git clone --recurse-submodules https://github.com/Horus645/swww.git /tmp/swww
WORKDIR /tmp/swww
RUN cargo build --release
FROM scratch AS export
COPY --from=build /tmp/swww/target/release/swww /
COPY --from=build /tmp/swww/target/release/swww-daemon /
@cwillsey06
Copy link
Author

cat Dockerfile | podman -o . -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment