Skip to content

Commit

Permalink
Exclude .git from dockerignore is some of the docker images rely on the
Browse files Browse the repository at this point in the history
presence of .git folder during release
  • Loading branch information
lotas committed Jan 11, 2023
1 parent 7c39ab7 commit f55efa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.git

# build specific
**/node_modules
.eslintcache
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ WORKDIR /base/app

# clean up some unnecessary and potentially large stuff
RUN /bin/bash -c "\
rm -rf .git; \
rm -rf clients/client-{go,py,web}; \
rm -rf {services,libraries}/*/test; \
rm -rf db/test db/versions; \
Expand Down
5 changes: 5 additions & 0 deletions changelog/THAtLb7vRvSlEg4wcg5EWw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
audience: general
level: patch
---

Small fix to dockerignore and release process.

0 comments on commit f55efa9

Please sign in to comment.