Closed jstrachan closed 6 years ago
with a blank java project and typing:
draft create --pack=github.com/Azure/draft/packs/java
there's no .dockerignore file copied across, despite them being one in the pack at ~/.draft/packs/github.com/Azure/draft/packs/java/.dockerignore.
~/.draft/packs/github.com/Azure/draft/packs/java/.dockerignore
While the build still works, it means that this dockerfile line https://github.com/Azure/draft/blob/master/packs/java/Dockerfile#L3 will copy all git history + target dir (so all pervious builds/tests/results/logs etc) which slows down the docker build.
target
closing as a duplicate of #427, which will be fixed via #453.
with a blank java project and typing:
there's no .dockerignore file copied across, despite them being one in the pack at
~/.draft/packs/github.com/Azure/draft/packs/java/.dockerignore
.While the build still works, it means that this dockerfile line https://github.com/Azure/draft/blob/master/packs/java/Dockerfile#L3 will copy all git history +
target
dir (so all pervious builds/tests/results/logs etc) which slows down the docker build.