[PR #4856] [MERGED] Switch to Whitelisting in .dockerignore #2716

Closed
opened 2025-10-09 18:10:13 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4856
Author: @Timshel
Created: 8/14/2024
Status: Merged
Merged: 8/21/2024
Merged by: @dani-garcia

Base: mainHead: feature/dockerignore


📝 Commits (1)

  • 405ec94 Switch to an allowlist in .dockerignore

📊 Changes

1 file changed (+12 additions, -37 deletions)

View changed files

📝 .dockerignore (+12 -37)

📄 Description

Hey,

Recently mistakenly added .git to the .dockerignore in another PR because I thought it might be responsible for unnecessary rebuild (it was not anyway).

But with so many blacklisted element I think switching to a whitelist style is simpler.


🔄 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/4856 **Author:** [@Timshel](https://github.com/Timshel) **Created:** 8/14/2024 **Status:** ✅ Merged **Merged:** 8/21/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `feature/dockerignore` --- ### 📝 Commits (1) - [`405ec94`](https://github.com/dani-garcia/vaultwarden/commit/405ec9470ea881a97e7fa252e50bf3abfe890c75) Switch to an allowlist in .dockerignore ### 📊 Changes **1 file changed** (+12 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+12 -37) </details> ### 📄 Description Hey, Recently mistakenly added `.git` to the `.dockerignore` in another PR because I thought it might be responsible for unnecessary rebuild (it was not anyway). But with so many blacklisted element I think switching to a whitelist style is simpler. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:10:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#2716