forked from nisargjhaveri/WirelessAndroidAutoDongle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (33 loc) · 891 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.7'
services:
bash: &base
build: .
image: aawg-buildroot
volumes:
- .:/app
- dl:/app/buildroot/dl
- output:/app/buildroot/output
working_dir: /app/buildroot
command: bash
generate_image_donotuse: &generate_image
<<: *base
command: bash -x -c "make BR2_EXTERNAL=../aa_wireless_dongle/ O=output/$${BOARD_NAME} $${BOARD_NAME}_defconfig && cd output/$${BOARD_NAME} && make && mkdir -p /app/images/ && cp images/sdcard.img /app/images/sdcard-$${BOARD_NAME}.img"
rpi0w:
<<: *generate_image
environment:
- BOARD_NAME=raspberrypi0w
rpi02w:
<<: *generate_image
environment:
- BOARD_NAME=raspberrypizero2w
rpi3a:
<<: *generate_image
environment:
- BOARD_NAME=raspberrypi3a
rpi4:
<<: *generate_image
environment:
- BOARD_NAME=raspberrypi4
volumes:
dl:
output: