From b5fba30715cbeccd87c7fbe564b7bbe99e44425d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Thu, 20 Feb 2025 13:29:38 +0100 Subject: [PATCH] remove unmaintained Dockerfile --- Dockerfile | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 6d58b50..0000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM rust:1.68-buster as builder - -RUN apt-get update && \ - apt-get install -y libssl-dev pkg-config - -WORKDIR /srv - -# Build dependencies and cache them -COPY Cargo.* ./ -RUN mkdir -p src && \ - echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \ - cargo build --release && \ - rm -r src && \ - rm target/release/deps/tricot* - -# Build final app -COPY ./src ./src -RUN cargo build --release - -FROM debian:bullseye-slim -RUN apt-get update && apt-get install -y libssl1.1 iptables ca-certificates -COPY --from=builder /srv/target/release/tricot /usr/local/sbin/tricot -CMD ["/usr/local/sbin/tricot"]