From ea46ac6dba82d4247b7bc21de0838d58a78cfb0c Mon Sep 17 00:00:00 2001 From: Hidekazu Kobayashi Date: Tue, 25 Apr 2023 16:58:30 +0000 Subject: [PATCH] Drop docker support --- kble/Dockerfile | 34 ---------------------------------- renovate.json | 7 ------- 2 files changed, 41 deletions(-) delete mode 100644 kble/Dockerfile diff --git a/kble/Dockerfile b/kble/Dockerfile deleted file mode 100644 index 4c0ddf8..0000000 --- a/kble/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -FROM ghcr.io/sksat/cargo-chef-docker:1.65.0-bullseye as chef - -WORKDIR /build - -FROM chef as planner -COPY . . - -WORKDIR /build/kble - -RUN cargo chef prepare --recipe-path recipe.json - -# build -FROM chef as builder -# build deps(cached) -COPY --from=planner /build . - -WORKDIR /build/kble - -RUN cargo chef cook --recipe-path recipe.json -p kble - -# build bin -WORKDIR /build - -COPY . . - -WORKDIR /build/kble -RUN cargo build - -FROM debian:bullseye-slim AS runtime -RUN apt-get update -y && apt-get install -y ca-certificates tini && rm -rf /var/lib/apt/lists/* && update-ca-certificates -WORKDIR /app -COPY --from=builder /build/kble/target/debug/kble /usr/local/bin -ENTRYPOINT [ "/usr/bin/tini", "-e", "143", "--" ] -CMD ["/usr/local/bin/kble"] diff --git a/renovate.json b/renovate.json index 25f06ba..8805556 100644 --- a/renovate.json +++ b/renovate.json @@ -3,13 +3,6 @@ "extends": [ "config:base" ], - "packageRules": [ - { - "groupName": "Rust", - "groupSlug": "rust", - "packageNames": ["rust", "ghcr.io/sksat/cargo-chef-docker"] - } - ], "regexManagers": [ { "fileMatch": ["^rust-toolchain(\\.toml)?$"],