Skip to content

Commit 208daa7

Browse files
committed
force non-interactive terminal during prebuilds
1 parent 361ba45 commit 208daa7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.gitpod.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
21
image:
32
file: .gitpod.Dockerfile
43

54
tasks:
65
- init: |
7-
# force non-interactive terminal
8-
export TERM=
6+
if [ "$GITPOD_HEADLESS" = "true" ]; then
7+
# force non-interactive terminal in prebuilds
8+
export TERM=dumb
9+
fi
910
1011
# run standard gradle build
1112
./gradlew localDistro

0 commit comments

Comments
 (0)