You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "jbampton (via GitHub)" <gi...@apache.org> on 2026/03/17 04:48:23 UTC
[I] `.dockerignore`: Use an allowlist approach for selective builds [cloudstack]
jbampton opened a new issue, #12827:
URL: https://github.com/apache/cloudstack/issues/12827
For very selective builds, a robust strategy is to ignore everything by default (*) and then use the negation pattern (!) to explicitly include only the necessary files or directories.
Example:
```
# Ignore everything
*
# Include only what's needed
!src/
!package.json
!package-lock.json
```
Seems it has not been updated for 8 years:
https://github.com/apache/cloudstack/blob/main/.dockerignore
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `.dockerignore`: Use an allowlist approach for selective builds [cloudstack]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on issue #12827:
URL: https://github.com/apache/cloudstack/issues/12827#issuecomment-4073708375
This is an issue. We should fix this but IMO, it is low priority. Since this image is a simulator docker image and I am not sure about it's usage currently other than some CI jobs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org