-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
45 lines (45 loc) · 2.13 KB
/
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
41
42
43
44
45
version: '3.9'
services:
wire-android-build-server:
build:
context: .
dockerfile: docker-agent/AndroidAgent
image: builder-agent:latest
container_name: wire-android-build-server
environment:
- CUSTOM_FLAVOR=Fdroid
- BUILD_TYPE=Release
- PATCH_VERSION=0
- CLEAN_PROJECT_BEFORE_BUILD=true
- RUN_APP_UNIT_TESTS=true
- RUN_STATIC_CODE_ANALYSIS=true
- RUN_STORAGE_UNIT_TESTS=true
- RUN_STORAGE_ACCEPTANCE_TESTS=true
- BUILD_CLIENT=true
#### Signing Vars (KEYSTORE_PATH's home directory is the wire-android folder inside the docker container, start from there e.g. app/keystorefile.keystore)
#- SIGN_APK=true
#- KEYSTORE_PATH=your-path-to-your-keystore-file
#- KSTOREPWD=your-keystore-password
#- KEYPWD=your-key-password
#- KEYSTORE_KEY_NAME=your-key-name
###### needed for custom client compilation
#- CUSTOM_REPOSITORY=https://github.com/wireapp/wire-android-custom-example
#- CUSTOM_FOLDER=example-co
#- CLIENT_FOLDER=client2
#- GRGIT_USER="your-github-api-token-or-user-name"
#- GRGIT_PASSWORD="your-github-password-only-when-using-username" #only outcomment this if you wanna use username and password instead of a github api token
#### Debug Optins
- BUILD_WITH_STACKTRACE=true
# For permissions isues with GHA
user: "${UID}:${GID}"
volumes:
- ".:/home/android-agent/wire-android"
command: bash -c "cd /home/android-agent/wire-android && /home/android-agent/wire-android/docker-agent/configure-project.sh && /home/android-agent/wire-android/docker-agent/builder.sh"
# enable this service if you wanna check out the progress of the wire-androd-build-server on a webconsole over http://localhost:9999
#dozzle:
# container_name: dozzle
# image: amir20/dozzle:latest
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# ports:
# - 9999:8080