Skip to content
Snippets Groups Projects
Commit 70f9e5e67cc8 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

docker_build: keep using cache when building with dev tools

parent 7496aea73410
No related branches found
No related tags found
2 merge requests!204📝 Adjust source_control section, mercurial is not needed directly,!203✨ Replace docker-py by python_on_whales
...@@ -224,10 +224,10 @@ ...@@ -224,10 +224,10 @@
myfile.write("python-ipdb\n") myfile.write("python-ipdb\n")
myfile.write( myfile.write(
"RUN pip install watchdog --disable-pip-version-check " "RUN pip install watchdog --disable-pip-version-check "
"--system --no-cache-dir --only-binary wheel" "--system --only-binary wheel"
) )
elif odoo_type in (ODOO_7, ODOO_8): elif odoo_type in (ODOO_7, ODOO_8):
myfile.write("python-ipdb\n") myfile.write("python-ipdb\n")
myfile.write("RUN pip install pyinotify") myfile.write("RUN pip install pyinotify")
else: else:
myfile.write( myfile.write(
...@@ -228,11 +228,10 @@ ...@@ -228,11 +228,10 @@
) )
elif odoo_type in (ODOO_7, ODOO_8): elif odoo_type in (ODOO_7, ODOO_8):
myfile.write("python-ipdb\n") myfile.write("python-ipdb\n")
myfile.write("RUN pip install pyinotify") myfile.write("RUN pip install pyinotify")
else: else:
myfile.write( myfile.write(
"RUN python3 -m pip --no-cache-dir install pdbpp watchdog " "RUN python3 -m pip install pdbpp watchdog ipdb pyinotify\n"
"ipdb pyinotify\n"
) )
dockerfile = debug_dockerfile dockerfile = debug_dockerfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment