victorb/autochecker

Build Docker image from current directory

Open

#21 建立於 2016年4月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (601 star) (22 fork)batch import
enhancementhelp wanted

描述

I have a rather large project directory due to lots of build products, which means all of those are copied into the temporary directory by copyApplicationToTempLocation(). At first glance it appears this only exists such that it excludes .git and node_modules directories by default. There's a TODO in there for this to be more language independent, so I think the best path forward is to encourage users to create their own .dockerignore file, perhaps suggesting to generate one by default if one does not yet exist.

The Dockerfile built from the template could be put into a temp file since Docker supports specifying alternative files to build from.

貢獻者指南