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

:pencil: adapt odoo scripts to new base image

parent ecb4eccf6917
No related branches found
No related tags found
1 merge request!50Topic/default/fix not null detect
......@@ -142,7 +142,9 @@
call(["cp", dockerfile, debug_dockerfile])
with open(debug_dockerfile, "a") as myfile:
myfile.write("\n# Developer helpers\n" "RUN apt-get update -qq\n")
myfile.write(
"\n# Developer helpers\nUSER root\nRUN apt-get update -qq\n"
)
myfile.write(
"RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -qq "
)
......@@ -159,6 +161,7 @@
)
# Install pdb++
myfile.write("RUN python3 -m pip install pdbpp\n")
myfile.write("USER odoo\n")
elif odoo_type in ("odoo10",):
myfile.write("python-ipdb\n")
myfile.write(
......
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