diff --git a/Dockerfile b/Dockerfile index bf01fdbbc..2030e188f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM ruby:2.5.3-alpine +ENV INSTALL_MYSQL=true RUN apk update \ && apk --no-cache add \ "build-base>=0.5" \ @@ -10,6 +11,7 @@ RUN apk update \ "sqlite-dev>=3.28" \ "sqlite>=3.28" \ "tzdata>=2019" \ + "mariadb-dev>=10.3" \ && rm -rf /var/cache/apk/* WORKDIR /app diff --git a/Gemfile b/Gemfile index f79bc4e3f..d939c2c5e 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,5 @@ gemspec gem 'simplecov', :require => false, :group => :test if ENV['INSTALL_MYSQL'] == "true" - gem 'mysql2', '~>0.3.15' + gem 'mysql2', '~>0.5' end \ No newline at end of file