Skip to content

Commit 440f3a5

Browse files
committed
adds ARM64 cross-compilation tools to Docker builder image
1 parent 527edcb commit 440f3a5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ WORKDIR /usr/src/app
1313
RUN apt-get update && apt-get install -y --no-install-recommends \
1414
bash \
1515
build-essential \
16+
gcc-aarch64-linux-gnu \
17+
libc6-dev:arm64 \
1618
libssl-dev \
1719
pkg-config \
18-
libpq-dev # Include PostgreSQL development libraries && rm -rf /var/lib/apt/lists/*
20+
libpq-dev && rm -rf /var/lib/apt/lists/*
1921

2022
# Install the necessary Rust target for ARM64 (Raspberry Pi 5)
2123
RUN rustup target add aarch64-unknown-linux-gnu

0 commit comments

Comments
 (0)