aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm.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.arm.build
parentd109f789b1cb75fc144a203628694dfb7ed300cb (diff)
downloadwebol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.tar
webol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.tar.gz
webol-0948f75248a5daf8229ce1f40d1b3ec8d9aecbac.zip
test w/ cargo chef + arm64
Diffstat (limited to 'Dockerfile.arm.build')
-rw-r--r--Dockerfile.arm.build16
1 files changed, 0 insertions, 16 deletions
diff --git a/Dockerfile.arm.build b/Dockerfile.arm.build
deleted file mode 100644
index 1845afe..0000000
--- a/Dockerfile.arm.build
+++ /dev/null
@@ -1,16 +0,0 @@
1FROM rust:1.73 as builder
2WORKDIR /usr/src/webol
3COPY . .
4#RUN rustup target add armv7-unknown-linux-gnueabihf
5#RUN apt update && apt install gcc-arm-linux-gnueabihf -y
6#RUN CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc cargo install --path . --target armv7-unknown-linux-gnueabihf
7RUN cargo install --path .
8
9#FROM --platform=arm64 debian:bookworm-slim
10FROM debian:bookworm-slim
11RUN apt update && apt install -y libc6 && rm -rf /var/lib/apt/lists/*
12WORKDIR /usr/local/webol
13COPY --from=builder /usr/local/cargo/bin/webol /usr/local/bin/webol
14
15EXPOSE 7229
16CMD ["webol"]