Last active
August 6, 2026 20:17
-
-
Save ObjectBoxPC/2e5d44a560e447bd99b07bddf6e77207 to your computer and use it in GitHub Desktop.
Dockerfile for cross-building captdriver for AArch64 (for Raspberry Pi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:trixie-slim AS build | |
| WORKDIR /src | |
| RUN ["dpkg", "--add-architecture", "arm64"] | |
| RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu make automake libcups2-dev:arm64 cups-ppdc | |
| COPY . . | |
| RUN ["aclocal"] | |
| RUN ["autoconf"] | |
| RUN ["automake", "--add-missing"] | |
| RUN ["./configure", "--host=aarch64-linux-gnu"] | |
| RUN ["make"] | |
| RUN ["make", "ppd"] | |
| FROM scratch | |
| COPY --from=build /src/src/rastertocapt / | |
| COPY --from=build /src/ppd /ppd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment