Skip to content

Commit

Permalink
fix(docker): Ignore local build and lint cache (#1994)
Browse files Browse the repository at this point in the history
These should not be replicated to docker contexts as they are local to
the build host.  In addition, the golangci-lint currently doesn't assume
the host user nor add other group read permissions when writing files,
so this causes permission errors when other docker processes attempt to
copy the files.
  • Loading branch information
nddeluca committed Aug 7, 2024
1 parent 3c4d91a commit a4583be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ docs/
networks/
scratch/

# Ignore build cache directories to avoid
# errors when addings these to docker images
build/.cache
build/.golangci-lint

go.work
go.work.sum

0 comments on commit a4583be

Please sign in to comment.