[PR #5752] [MERGED] Fix debian docker building #23187

Closed
opened 2026-05-16 05:50:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: fix-docker-debian-building


📝 Commits (1)

  • 0b694d7 Fix 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/5752 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 4/5/2025 **Status:** ✅ Merged **Merged:** 4/5/2025 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-docker-debian-building` --- ### 📝 Commits (1) - [`0b694d7`](https://github.com/dani-garcia/vaultwarden/commit/0b694d777f0f3b18c423ef34d6ce77544682919c) Fix debian docker building ### 📊 Changes **5 files changed** (+30 additions, -132 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+8 -85) 📝 `Cargo.toml` (+1 -3) 📝 `docker/Dockerfile.debian` (+10 -17) 📝 `docker/Dockerfile.j2` (+10 -17) 📝 `docker/docker-bake.hcl` (+1 -10) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-16 05:50:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#23187