Message ID | 20200221041351.145491-1-xypron.glpk@gmx.de |
---|---|
State | New |
Headers | show |
Series | [1/1] .dockerignore: remove .git/ from build context | expand |
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>
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 --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..bbaab15 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +# ignore .git folder +.git
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