Make sure we cleanup all non-git files

with the exception of vendor libs

Signed-off-by: Arthur Neves <arthurnn@gmail.com>
This commit is contained in:
Arthur Neves 2018-03-13 20:19:36 +01:00
Родитель f98602bef2
Коммит 7d7a714659
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,9 @@
# vendor folder is up to data.
FROM vitess/base
# Clean local files, and keep vendorer libs
RUN git clean -xdf --exclude="vendor"
RUN mkdir /vt/releases
CMD tar -czf /vt/releases/v$VERSION.tar.gz --exclude .git .