mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-31 05:49:23 -05:00
[PR #5752] [MERGED] Fix debian docker building #12525
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/5752
Author: @BlackDex
Created: 4/5/2025
Status: ✅ Merged
Merged: 4/5/2025
Merged by: @dani-garcia
Base:
main← Head:fix-docker-debian-building📝 Commits (1)
0b694d7Fix debian docker building📊 Changes
5 files changed (+30 additions, -132 deletions)
View changed files
📝
Cargo.lock(+8 -85)📝
Cargo.toml(+1 -3)📝
docker/Dockerfile.debian(+10 -17)📝
docker/Dockerfile.j2(+10 -17)📝
docker/docker-bake.hcl(+1 -10)📄 Description
In previous attempts to get mysqlclient-sys to build and work I added some extra build variables. These are not needed if you configure pkg-config correctly. The same goes for OpenSSL btw.
This PR configures the pkg-config in the right way and allows the crates to build using the right lib paths automatically. Because of this change also the lib/include paths were not needed anymore for some architectures, except for i386.
Also updated crates again.
Fixes #5751
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.