Skip to content

Commit

Permalink
Merge pull request #232 from tulibraries/fix-m1-not-working
Browse files Browse the repository at this point in the history
Fix make test not working in local m1 instance.
  • Loading branch information
sensei100 authored Dec 10, 2024
2 parents e414315 + 47c79bd commit fce138f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
export

DOCKER := docker compose

RUBY_VERSION := 3.3.0

ifeq ($(CI), true)
APP_IMAGE := cimg/ruby:$(RUBY_VERSION)
else
APP_IMAGE := ruby:$(RUBY_VERSION)
endif

up:
$(DOCKER) up -d
$(DOCKER) exec app bundle install
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
app:
image: cimg/ruby:3.3.0
image: ${APP_IMAGE}
working_dir: /app
depends_on:
- solr
Expand Down

0 comments on commit fce138f

Please sign in to comment.