From 0948f75248a5daf8229ce1f40d1b3ec8d9aecbac Mon Sep 17 00:00:00 2001 From: fx Date: Sun, 15 Oct 2023 02:26:29 +0200 Subject: test w/ cargo chef + arm64 --- Dockerfile.build | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Dockerfile.build (limited to 'Dockerfile.build') diff --git a/Dockerfile.build b/Dockerfile.build deleted file mode 100644 index 0158b8a..0000000 --- a/Dockerfile.build +++ /dev/null @@ -1,18 +0,0 @@ -FROM debian:bookworm AS deb_extractor -RUN cd /tmp && \ - apt-get update && apt-get download \ - libc6 && \ - mkdir /dpkg && \ - for deb in *.deb; do dpkg --extract $deb /dpkg || exit 10; done - -FROM rust:1.73 as builder -WORKDIR /app -COPY . . -RUN cargo build --release - -FROM gcr.io/distroless/cc -COPY --from=builder /app/target/release/webol / -COPY --from=deb_extractor /dpkg / - -EXPOSE 7229 -ENTRYPOINT ["./webol"] -- cgit v1.2.3