diff mbox series

[1/1] .dockerignore: remove .git/ from build context

Message ID 20200221041351.145491-1-xypron.glpk@gmx.de
State New
Headers show
Series [1/1] .dockerignore: remove .git/ from build context | expand

Commit Message

Heinrich Schuchardt Feb. 21, 2020, 4:13 a.m. UTC
We do not need .git in the build context.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 .dockerignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 .dockerignore

--
2.25.0

Comments

Bin Meng Feb. 21, 2020, 1:49 p.m. UTC | #1
On Fri, Feb 21, 2020 at 12:14 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> We do not need .git in the build context.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  .dockerignore | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 .dockerignore
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tom Rini April 28, 2020, 1:52 p.m. UTC | #2
On Fri, Feb 21, 2020 at 05:13:51AM +0100, Heinrich Schuchardt wrote:

> We do not need .git in the build context.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to gitlab-ci-runner/master, thanks!
diff mbox series

Patch

diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..bbaab15
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,2 @@ 
+# ignore .git folder
+.git