forked from platypush/platypush
Use --no-cache-dir for pip installations in Dockerfile
This commit is contained in:
parent
8caa170676
commit
20feedaf07
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def generate_dockerfile(deps, ports, cfgfile, devdir, python_version):
|
||||||
''')
|
''')
|
||||||
|
|
||||||
for i, dep in enumerate(deps):
|
for i, dep in enumerate(deps):
|
||||||
content += '\t&& pip install {}'.format(dep)
|
content += '\t&& pip install --no-cache-dir {}'.format(dep)
|
||||||
if i < len(deps)-1:
|
if i < len(deps)-1:
|
||||||
content += ' \\'.format(dep)
|
content += ' \\'.format(dep)
|
||||||
content += '\n'
|
content += '\n'
|
||||||
|
|
Loading…
Reference in a new issue