Skip to content

Commit dddf880

Browse files
committed
Add color to docker run output via Makefile
1 parent 69a6d96 commit dddf880

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ image:
66
docker build --rm -t $(IMAGE_NAME) .
77

88
test: image
9-
docker run --rm $(IMAGE_NAME) sh -c "cd /usr/src/app && bundle install --with=test && bundle exec rake"
9+
docker run --rm --tty $(IMAGE_NAME) sh -c "cd /usr/src/app && bundle install --with=test && bundle exec rake"
1010

1111
docs: image
12-
docker run --rm \
12+
docker run --rm --tty \
1313
--user root \
1414
--workdir /usr/src/app \
1515
--volume $(PWD):/usr/src/app \
1616
$(IMAGE_NAME) sh -c "apk --update add git && bundle install --with=test && bundle exec rake docs:scrape"
1717

1818
bundle:
19-
docker run --rm \
19+
docker run --rm --tty \
2020
--entrypoint /bin/sh \
2121
--volume $(PWD):/usr/src/app \
2222
$(IMAGE_NAME) -c "cd /usr/src/app && bundle $(BUNDLE_ARGS)"

0 commit comments

Comments
 (0)