aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.build
diff options
context:
space:
mode:
authorfx <[email protected]>2023-10-15 02:26:29 +0200
committerfx <[email protected]>2023-10-15 02:26:29 +0200
commit0948f75248a5daf8229ce1f40d1b3ec8d9aecbac (patch)
tree753359f0a74c44f31e6fa7e9ab5d7d404b8092b9 /Dockerfile.build
parentd109f789b1cb75fc144a203628694dfb7ed300cb (diff)
downloadwebol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.tar
webol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.tar.gz
webol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.zip
test w/ cargo chef + arm64
Diffstat (limited to 'Dockerfile.build')
-rw-r--r--Dockerfile.build18
1 files changed, 0 insertions, 18 deletions
diff --git a/Dockerfile.build b/Dockerfile.build
deleted file mode 100644
index 0158b8a..0000000
--- a/Dockerfile.build
+++ /dev/null
@@ -1,18 +0,0 @@
1FROM debian:bookworm AS deb_extractor
2RUN cd /tmp && \
3 apt-get update && apt-get download \
4 libc6 && \
5 mkdir /dpkg && \
6 for deb in *.deb; do dpkg --extract $deb /dpkg || exit 10; done
7
8FROM rust:1.73 as builder
9WORKDIR /app
10COPY . .
11RUN cargo build --release
12
13FROM gcr.io/distroless/cc
14COPY --from=builder /app/target/release/webol /
15COPY --from=deb_extractor /dpkg /
16
17EXPOSE 7229
18ENTRYPOINT ["./webol"]