Init Repo

This commit is contained in:
Simon Zeyer
2026-08-25 14:37:00 +02:00
commit 267264d9bf
4 changed files with 118 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
version: '3.8'
services:
openwrt-build:
build:
context: .
dockerfile: Dockerfile
container_name: openwrt-build
# image: openwrt-build:latest
user: "1000:1000"
tty: true
stdin_open: true
volumes:
# Firmware outputs mapped directly to host filesystem
- ./bin:/home/builduser/openwrt/bin
# Source tarballs cached on host to avoid re-downloading across builds
- ./dl:/home/builduser/openwrt/dl
# Persistent build configuration file (.config)
- ./.config:/home/builduser/openwrt/.config
# Named volumes for heavy build artifacts (maximizes I/O performance)
- openwrt-build-dir:/home/builduser/openwrt/build_dir
- openwrt-staging-dir:/home/builduser/openwrt/staging_dir
- openwrt-ccache:/home/builduser/.ccache
volumes:
openwrt-build-dir:
openwrt-staging-dir:
openwrt-ccache: