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
a08a50f1
Commit
a08a50f1
authored
1 year ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
docker_build: remove --user when installing dev tools
--user is not compatible with the use of venv.
parent
559b7de5
No related branches found
Branches containing commit
Tags
7.0.1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.rst
+5
-0
5 additions, 0 deletions
NEWS.rst
odoo_scripts/docker_build.py
+3
-3
3 additions, 3 deletions
odoo_scripts/docker_build.py
with
8 additions
and
3 deletions
NEWS.rst
+
5
−
0
View file @
a08a50f1
...
...
@@ -2,6 +2,11 @@
History
=======
20.8.2
------
docker_build: When building image with dev tools, do not add the user flags. This allows using venv and when odoo is installed in a user, it is picked automatically.
20.8.1
------
...
...
This diff is collapsed.
Click to expand it.
odoo_scripts/docker_build.py
+
3
−
3
View file @
a08a50f1
...
...
@@ -19,5 +19,5 @@
_logger
=
logging
.
getLogger
(
__name__
)
__version__
=
"
1.4.
0
"
__version__
=
"
1.4.
1
"
__date__
=
"
2018-04-04
"
...
...
@@ -23,5 +23,5 @@
__date__
=
"
2018-04-04
"
__updated__
=
"
2023-0
3
-0
2
"
__updated__
=
"
2023-
1
0-0
6
"
def
add_build_options
(
parser
:
argparse
.
ArgumentParser
):
...
...
@@ -216,7 +216,7 @@
myfile
.
write
(
"
RUN pip install pyinotify
"
)
else
:
myfile
.
write
(
"
RUN python3 -m pip --no-cache-dir install
--user
pdbpp watchdog
"
"
RUN python3 -m pip --no-cache-dir install pdbpp watchdog
"
"
ipdb pyinotify
\n
"
)
...
...
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