Added .dockerignore, Docker image can be built on arm64. Refs #12

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-12 16:15:15 +02:00
co-authored by Claude Opus 5.5
parent 53c043a6b0
commit c1d998878a
2 changed files with 24 additions and 3 deletions
+4 -3
View File
@@ -2,9 +2,10 @@ FROM rust:1.86.0-bookworm AS builder
# Install cargo-binstall, which makes it easier to install other
# cargo extensions like cargo-leptos
RUN wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
RUN tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
RUN cp cargo-binstall /usr/local/cargo/bin
# (uname -m gives x86_64 or aarch64, so the image builds on both architectures)
RUN wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-$(uname -m)-unknown-linux-musl.tgz \
&& tar -xvf cargo-binstall-$(uname -m)-unknown-linux-musl.tgz \
&& cp cargo-binstall /usr/local/cargo/bin
# Install required tools
RUN apt-get update -y \