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
5322173a811d
Commit
5322173a811d
authored
7 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
add line that should have stayed there
parent
425ed2d0d7de
No related branches found
Branches containing commit
Tags
20.3.1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker_dev_start.py
+1
-0
1 addition, 0 deletions
docker_dev_start.py
with
1 addition
and
0 deletions
docker_dev_start.py
+
1
−
0
View file @
5322173a
...
@@ -293,6 +293,7 @@
...
@@ -293,6 +293,7 @@
logging
.
debug
(
'
Using data volume %s
'
,
data_volume_name
)
logging
.
debug
(
'
Using data volume %s
'
,
data_volume_name
)
volume
=
getVolume
(
docker_client
,
data_volume_name
)
volume
=
getVolume
(
docker_client
,
data_volume_name
)
# make sure the permission in the volume are correct
# make sure the permission in the volume are correct
mount_opts
=
'
source={},target=/mnt/data
'
.
format
(
data_volume_name
)
# TODO replace by something cleaner if possible
# TODO replace by something cleaner if possible
call
([
'
docker
'
,
'
run
'
,
'
--rm
'
,
'
--mount
'
,
mount_opts
,
'
busybox
'
,
'
chmod
'
,
'
777
'
,
'
/mnt/data
'
])
call
([
'
docker
'
,
'
run
'
,
'
--rm
'
,
'
--mount
'
,
mount_opts
,
'
busybox
'
,
'
chmod
'
,
'
777
'
,
'
/mnt/data
'
])
binds
.
append
(
'
{}:/mnt/data
'
.
format
(
data_volume_name
))
binds
.
append
(
'
{}:/mnt/data
'
.
format
(
data_volume_name
))
...
...
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