Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit dfd9b55

Browse files
committed
environments in docker-compose
an example of how you can switch CI mode on/off & define the source dir
1 parent 076a223 commit dfd9b55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ app:
44
volumes:
55
- ./_tmp:/bitrise/tmp
66
- ./system_report.sh:/bitrise/src/system_report.sh
7+
environment:
8+
# => if you want your code to be git-cloned inside the container
9+
CI: "true"
10+
BITRISE_SOURCE_DIR: /bitrise/src
11+
# => if you put your code into the _tmp folder
12+
# CI: "false"
13+
# BITRISE_SOURCE_DIR: /bitrise/tmp

0 commit comments

Comments
 (0)