victorb/autochecker

Build Docker image from current directory

Open

#21 aperta il 26 apr 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (22 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (601 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor