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

Message ID 20200221041351.145491-1-xypron.glpk@gmx.de
State New
Delegated to: Tom Rini
Headers show
Series
  • [1/1] .dockerignore: remove .git/ from build context
Related show

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@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@gmx.de> wrote:
>
> We do not need .git in the build context.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  .dockerignore | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 .dockerignore
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Patch
diff mbox series

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