From 2ff87013dd30a2ebee9e7774c35d7fe1f22994af Mon Sep 17 00:00:00 2001 From: dawn Date: Fri, 4 Sep 2026 19:56:08 +0900 Subject: [PATCH] localinfra: fix bobbin containerfile gitmirror member stripping Signed-off-by: dawn --- bobbin/containerfiles/bobbin.Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bobbin/containerfiles/bobbin.Containerfile b/bobbin/containerfiles/bobbin.Containerfile index 6277f81bd..4b800850a 100644 --- a/bobbin/containerfiles/bobbin.Containerfile +++ b/bobbin/containerfiles/bobbin.Containerfile @@ -19,13 +19,14 @@ COPY crates/knot-capability ./crates/knot-capability COPY crates/lexicons ./crates/lexicons COPY crates/trusted-proxies ./crates/trusted-proxies COPY bobbin ./bobbin -# keep image lighter by not copying in shittle, knot2 +# keep image lighter by not copying in shuttle, gitmirror, knot2 # does however need some cargo toml patchings RUN sed -i \ -e 's/, "shuttle"//' \ - -e 's/, "gitmirror"//' \ + -e 's/, "gitmirror\/crates\/\*"//' \ -e 's/, "knot2\/crates\/\*"//' \ -e '/^knot-[a-z0-9-]* = { path = "knot2\/crates\//d' \ + -e '/^gitmirror-[a-z0-9-]* = { path = "gitmirror\/crates\//d' \ -e '/^gix-pack = { path = "knot2\/third_party\/gix-pack" }/d' \ Cargo.toml RUN cargo build --profile ${BOBBIN_PROFILE} --bin bobbin --package bobbin -- 2.51.2