Permalink
Browse files

mysql2

  • Loading branch information...
massat committed Feb 28, 2017
1 parent cc20b6a commit 777e1f7d64149c064bbbbe59631c0940c3818247
Showing with 10 additions and 1 deletion.
  1. +6 −0 Dockerfile
  2. +1 −0 Gemfile
  3. +3 −1 Gemfile.lock
View
@@ -3,6 +3,12 @@ FROM ruby:2.4.0-alpine
RUN mkdir /app
WORKDIR /app
+RUN apk add --update \
+ alpine-sdk \
+ mariadb-dev \
+ && rm -rf /var/cache/apk/* \
+ && rm -rf /usr/lib/mysqld*
+
ADD Gemfile /app
RUN bundle install
ADD . /app
View
@@ -2,4 +2,5 @@ source "https://rubygems.org"
ruby '2.4.0'
+gem 'mysql2'
gem 'sinatra'
View
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
+ mysql2 (0.4.5)
rack (1.6.5)
rack-protection (1.5.3)
rack
@@ -14,10 +15,11 @@ PLATFORMS
ruby
DEPENDENCIES
+ mysql2
sinatra
RUBY VERSION
ruby 2.4.0p0
BUNDLED WITH
- 1.14.3
+ 1.14.4

0 comments on commit 777e1f7

Please sign in to comment.