Created
January 10, 2024 02:32
-
-
Save andrewshulgin/ac7ac86b87e0491c07561bd3814b3106 to your computer and use it in GitHub Desktop.
Docker Compose File for Buildroot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
set-permissions: | |
image: alpine | |
user: root | |
volumes: | |
- buildroot:/mnt/buildroot | |
command: chown -R 1000:1000 /mnt/buildroot | |
build: | |
image: buildroot/base:20211120.1925 | |
volumes: | |
- ./:/home/br-user | |
- buildroot:/home/br-user/buildroot | |
command: make | |
depends_on: | |
set-permissions: | |
condition: service_completed_successfully | |
volumes: | |
buildroot: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment