Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
70f9e5e67cc8
Commit
70f9e5e67cc8
authored
1 year ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
odoo_scripts/docker_build.py
+2
-3
2 additions, 3 deletions
odoo_scripts/docker_build.py
with
2 additions
and
3 deletions
odoo_scripts/docker_build.py
+
2
−
3
View file @
70f9e5e6
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment