Skip to contentSkip to conversation

.dockerignore: remove .git/ from build context

PATCH New Heinrich Schuchardt 3 participants 3 messages Feb 21, 2020 – Apr 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .dockerignore: remove .git/ from build context

We do not need .git in the build context.

---
 .dockerignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 .dockerignore
.dockerignore new file +2 -0
new file mode 100644
index 0000000..bbaab15
@@ -0,0 +1,2 @@
+# ignore .git folder
+.git

--
2.25.0

Applied
#2 lore raw

PATCH 1/1 .dockerignore: remove .git/ from build context

In reply to Heinrich Schuchardt
Quoted 4 lines · Heinrich Schuchardt

We do not need .git in the build context.

Applied to gitlab-ci-runner/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200428/0e201e3c/attachment.sig>