Created
January 1, 2023 02:40
-
-
Save cwillsey06/a460fa85f2a0698db8ca322675c3296d to your computer and use it in GitHub Desktop.
build swww-git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 / | |
Author
cwillsey06
commented
Jan 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment