-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 1.04 KB
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (38 loc) · 1.04 KB
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
services:
android:
build:
context: .
dockerfile: build-tools/Dockerfile.android
image: lunarcal-android
user: "1001:1001"
working_dir: /workspace
volumes:
- .:/workspace
environment:
ANDROID_HOME: /opt/android-sdk
ANDROID_SDK_ROOT: /opt/android-sdk
ANDROID_USER_HOME: /workspace/build/android-user-home
GRADLE_USER_HOME: /workspace/build/gradle-user-home
HOME: /workspace/build/home
command: gradle -Duser.home=/workspace/build/home --no-daemon --project-cache-dir /workspace/build/gradle-project-cache :app:assembleDebug
adb:
build:
context: .
dockerfile: build-tools/Dockerfile.android
image: lunarcal-android
user: "1001:1001"
network_mode: host
working_dir: /workspace
volumes:
- .:/workspace
environment:
HOME: /workspace/build/android-adb-home
command:
- /usr/bin/qemu-x86_64
- -L
- /usr/x86_64-linux-gnu
- /opt/android-sdk/platform-tools/adb
- -P
- "5037"
- nodaemon
- server