Skip to content

Commit

Permalink
improvement: allows to set docker image from ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
shatalov-boris committed May 31, 2024
1 parent 0d14f3f commit ad98f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
ruby:
image: ruby:${RUBY_VERSION:-3.2}
image: ${RUBY_DOCKER_IMAGE:-ruby}:${RUBY_VERSION:-3.3}
environment:
HISTFILE: /app/tmp/.bash_history
BUNDLE_PATH: /usr/local/bundle
Expand All @@ -10,7 +10,7 @@ services:
working_dir: /app
volumes:
- .:/app:cached
- ${SBMT_RUBYGEMS_PATH:-..}:/app/vendor/gems:cached
- ${RUBYGEMS_PATH:-..}:/app/vendor/gems:cached
- bundler_data:/usr/local/bundle
tmpfs:
- /tmp
Expand Down

0 comments on commit ad98f74

Please sign in to comment.