mirror of
https://github.com/restic/restic.git
synced 2026-02-17 06:23:56 +00:00
CI: Remove .dockerignore to ensure reproducible builds
Since go 1.18, built binaries also include VCS information such as the built commit. This information is also included in the official binaries. To ensure that the Docker container recreates the same binaries, the .git folder must also be transferred into the container. Thus, remove the .dockerignore file. The copied files must also be owned by the current user within the container, as git refuses to work otherwise.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
# Folders
|
||||
.git/
|
||||
.github/
|
||||
changelog/
|
||||
doc/
|
||||
docker/
|
||||
|
||||
# Files
|
||||
.gitignore
|
||||
.golangci.yml
|
||||
*.md
|
||||
Reference in New Issue
Block a user