Skip to content

Commit

Permalink
Replace shadow with vergen
Browse files Browse the repository at this point in the history
libgit2 take too long to build
  • Loading branch information
foriequal0 committed Jun 29, 2024
1 parent c7da369 commit 3009741
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 221 deletions.
225 changes: 33 additions & 192 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "pod-graceful-drain"
description = "You don't need `lifecycle: { preStop: { exec: { command: [\"sleep\", \"30\"] } } }`"
authors = ["SeongChan Lee <[email protected]>"]
version = "0.1.0-rc.1"
edition = "2021"
Expand Down Expand Up @@ -50,7 +51,6 @@ notify = "6.1.1"
debounced = "0.1.0"
hostname = "0.4.0"
uuid = { version = "1.9.1", features = ["v4"] }
shadow-rs = "0.28.0"

[dev-dependencies]
tempfile = "3.10.1"
Expand All @@ -60,5 +60,5 @@ base64 = "0.22.1"
rcgen = "0.13.1"

[build-dependencies]
eyre = "0.6.12"
shadow-rs = "0.28.0"
anyhow = "1.0.86"
vergen = { version = "8.3.1", features = ["build", "rustc", "git", "gitcl"] }
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN cargo fetch --verbose

FROM fetch as builder
COPY . /src/
RUN apt-get update && apt-get install -y git
RUN cargo install --path .

FROM debian:bookworm-slim
Expand Down
Loading

0 comments on commit 3009741

Please sign in to comment.