name: orangepi-linux-lab services: learn: build: context: . dockerfile: docker/learn.Dockerfile args: NODE_IMAGE: ${NODE_IMAGE:-docker.1ms.run/library/node:22-bookworm-slim@sha256:d649c27dae7ba0137b3cef5dd75baa422c08dc3d9e3fc0c23dfb172dc3cc6436} ports: - "3000:3000" environment: HOST: 0.0.0.0 builder: build: context: . dockerfile: docker/build.Dockerfile args: UBUNTU_MIRROR: ${UBUNTU_MIRROR:-http://mirrors.aliyun.com/ubuntu} privileged: true environment: OPI_BUILD_COMMIT: bdba421984211da19191dc6ac6818a247817335f OPI_BRANCH: ${OPI_BRANCH:-legacy} OPI_REPO_URL: ${OPI_REPO_URL:-https://gitee.com/orangepi-xunlong/orangepi-build.git} OPI_SOURCE_MIRROR: ${OPI_SOURCE_MIRROR:-gitee} REGIONAL_MIRROR: ${REGIONAL_MIRROR:-china} volumes: - orangepi-build-work:/work - ./artifacts:/artifacts # Docker Desktop/WSL2 的容器内没有 udev;官方构建脚本会从 # /tmp/dev 读取主机侧动态生成的 loop 分区节点并在容器内补建。 - /dev:/tmp/dev volumes: orangepi-build-work: