-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example configurations for fedora
rebuildctl pkgs sync fedora Everything https://ftp.halifax.rwth-aachen.de/fedora/linux/releases/38/ --architecture x86_64 --print-json
- Loading branch information
Showing
5 changed files
with
76 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM fedora | ||
WORKDIR /usr/src/rebuilderd | ||
RUN dnf -y install cargo openssl-devel rust | ||
COPY . . | ||
RUN --mount=type=cache,target=/var/cache/buildkit \ | ||
CARGO_HOME=/var/cache/buildkit/cargo \ | ||
CARGO_TARGET_DIR=/var/cache/buildkit/fedora/target \ | ||
cargo build --release --locked -p rebuilderd-worker && \ | ||
cp -v /var/cache/buildkit/fedora/target/release/rebuilderd-worker / | ||
|
||
FROM fedora | ||
RUN dnf -y install openssl-libs | ||
COPY --from=0 \ | ||
/usr/src/rebuilderd/worker/rebuilder-fedora.sh \ | ||
/usr/local/libexec/rebuilderd/ | ||
COPY --from=0 /rebuilderd-worker /usr/local/bin/ | ||
ENV REBUILDERD_WORKER_BACKEND=fedora=/usr/local/libexec/rebuilderd/rebuilder-fedora.sh | ||
ENTRYPOINT ["rebuilderd-worker"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
echo hello |