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