Remove git-tracked paths from .dockerignore (#5590)

* Remove git-tracked paths from .dockerignore

Since #5470 added automatic git version tags builds will include a `-modified`
version suffix if they have uncommitted changes in the Git repository.

The final container images are not copying any files from the local directory,
so none of the files copied into the builder stage will end up in the final
image.

Fixes #5589

* change .dockerignore to symlink to .gitignore
This commit is contained in:
Richard Schwab 2025-04-03 11:14:30 +02:00 committed by GitHub
parent b853ac2800
commit e685977929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +0,0 @@
# build folders and similar which are not needed for the docker build
target
docker
api_tests
ansible
tests
*.sh
pictrs

1
.dockerignore Symbolic link
View File

@ -0,0 +1 @@
.gitignore