Skip to content

Commit f63df02

Browse files
committed
Use environment variable for the image tag
1 parent d4f60b2 commit f63df02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
services:
22
app:
3-
image: ruby:3.3
4-
# Use Ruby 2.7 for older builds
5-
# image: ruby:2.7
3+
# NOTE: Use Ruby 2.7 for older builds
4+
image: ruby:${RUBY_VERSION:-3.3}
65
working_dir: /app
76
volumes:
87
- .:/app

0 commit comments

Comments
 (0)