Skip to content

Commit

Permalink
🩹 🐳 Preserve test report colors in docker
Browse files Browse the repository at this point in the history
When executing in a docker container from docker-compose, we current
implementation was showing the output without the visual "return"
of the test results. The color is extremely important when running
multiple tests.
  • Loading branch information
marcellodesales authored and mihaimaruseac committed Jan 30, 2022
1 parent b69fa36 commit 72d4015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions haskell_101/codelab/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ version: '3'
x-haskell-docker-setup: &generic-haskell-runtime
image: google/haskell-trainings
build: .
# Preserve terminal colors when running containers
# https://github.com/docker/compose/issues/2231#issuecomment-425135985
tty: yes

# When setting the CLI mode, run the command docker-compose run SERVICE_NAME
# https://stackoverflow.com/questions/36249744/interactive-shell-using-docker-compose/36265910#36265910
Expand Down

0 comments on commit 72d4015

Please sign in to comment.