Files
msm8916-openwrt/devenv/docker-compose.yml
T
2025-09-18 16:35:14 +02:00

34 lines
946 B
YAML

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"
volumes:
- ../bin:/home/builder/openwrt/bin
- dl:/home/builder/openwrt/dl
- build_dir:/home/builder/openwrt/build_dir
user: root
restart: "no"
builder:
build: .
container_name: openwrt-builder
working_dir: /home/builder/openwrt
stdin_open: true
tty: true
volumes:
- ..:/repo
- ../packages:/home/builder/openwrt/package/uz801
- ../msm89xx:/home/builder/openwrt/target/linux/msm89xx
- ../bin:/home/builder/openwrt/bin
# - ./files:/home/builder/openwrt/files
- dl:/home/builder/openwrt/dl
- build_dir:/home/builder/openwrt/build_dir
command: ["/bin/bash"]
depends_on:
chown-fix:
condition: service_completed_successfully
volumes:
dl:
build_dir: