Skip to content

Commit 08bfb0f

Browse files
committedSep 12, 2019
add COLORTERM env var
1 parent 16186db commit 08bfb0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎docker-compose-debug.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- /etc/passwd:/etc/passwd:ro
1212
- /etc/group:/etc/group:ro
1313
- ./:/var/www
14-
- ./../../libraries:/var/packages
1514
environment:
16-
DOCKER_TERM: "$TERM"
15+
DOCKER_TERM: "${TERM:-}" # pass host $TERM variable
16+
COLORTERM: "${COLORTERM:-}" # pass host $COLORTERM variable
1717
command: keep-alive.sh

‎docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- /etc/passwd:/etc/passwd:ro
1212
- /etc/group:/etc/group:ro
1313
- ./:/var/www
14-
- ./../../libraries:/var/packages
1514
environment:
16-
DOCKER_TERM: "$TERM" # passed host $TERM variable
15+
DOCKER_TERM: "${TERM:-}" # pass host $TERM variable
16+
COLORTERM: "${COLORTERM:-}" # pass host $COLORTERM variable
1717
command: keep-alive.sh

0 commit comments

Comments
 (0)