зеркало из https://github.com/github/vitess-gh.git
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:
Родитель
f98602bef2
Коммит
7d7a714659
|
@ -3,6 +3,9 @@
|
||||||
# vendor folder is up to data.
|
# vendor folder is up to data.
|
||||||
FROM vitess/base
|
FROM vitess/base
|
||||||
|
|
||||||
|
# Clean local files, and keep vendorer libs
|
||||||
|
RUN git clean -xdf --exclude="vendor"
|
||||||
|
|
||||||
RUN mkdir /vt/releases
|
RUN mkdir /vt/releases
|
||||||
|
|
||||||
CMD tar -czf /vt/releases/v$VERSION.tar.gz --exclude .git .
|
CMD tar -czf /vt/releases/v$VERSION.tar.gz --exclude .git .
|
Загрузка…
Ссылка в новой задаче