changes in dockercompose
This commit is contained in:
1 parent
670737802c
commit
0394618729
1 file changed
+4
-4
@@ -2,11 +2,11 @@ services:
|
||||
chown-fix:
|
||||
image: alpine:latest
|
||||
command: >
|
||||
sh -c "chown -R 1000:1000 /home/builder/openwrt/dl /home/builder/openwrt/bin /home/builder/openwrt/build_dir"
|
||||
sh -c "chown -R 1000:1000 /home/builder/openwrt/dl /home/builder/openwrt/bin"
|
||||
volumes:
|
||||
- ../bin:/home/builder/openwrt/bin
|
||||
- dl:/home/builder/openwrt/dl
|
||||
- build_dir:/home/builder/openwrt/build_dir
|
||||
# - build_dir:/home/builder/openwrt/build_dir
|
||||
user: root
|
||||
restart: "no"
|
||||
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
- ../bin:/home/builder/openwrt/bin
|
||||
# - ./files:/home/builder/openwrt/files
|
||||
- dl:/home/builder/openwrt/dl
|
||||
- build_dir:/home/builder/openwrt/build_dir
|
||||
# - build_dir:/home/builder/openwrt/build_dir
|
||||
command: ["/bin/bash"]
|
||||
depends_on:
|
||||
chown-fix:
|
||||
@@ -33,4 +33,4 @@ services:
|
||||
|
||||
volumes:
|
||||
dl:
|
||||
build_dir:
|
||||
# build_dir:
|
||||
Reference in new issue
Block a user