Skip to content

Conversation

@tomodachi
Copy link
Contributor

@tomodachi tomodachi commented Oct 29, 2025

This is mainly so we can cross-compile to the stable Debian Trixie changing from old-stable (Bookworm)

It seems using native-tls was broken in the previous build container.
Since debian trixie provides rustup in the repositories I switch to running that which fixes the issue of failing to build using native-tls.

I tested building towards all the targets in the Dockerfile and compilation was successful and actually tested the binary itself on aarch64-unknown-linux-gnu, since that's what I'm running

Switch to running the distro provided rustup runtime
fixing the issue of failing to build using native-tls.
Comment on lines -18 to -20
RUN echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian bookworm-updates main" >> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream image already contains the correct repository file both in the old Bookworm and Trixie image so no idea what this duplication is added.

It's not needed and triggers a warning in APT so I removed it.

@tomodachi tomodachi mentioned this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant