Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM centos/ruby-22-centos7
FROM registry.access.redhat.com/ubi8/ruby-27
USER default
EXPOSE 8080
ENV RACK_ENV production
ENV RAILS_ENV production
COPY . /opt/app-root/src/
RUN scl enable rh-ruby22 "bundle install"
CMD ["scl", "enable", "rh-ruby22", "./run.sh"]
ENV GEM_HOME ~/.gem
RUN bundle install
CMD ["./run.sh"]

USER root
RUN chmod og+rw /opt/app-root/src/db
Expand Down
14 changes: 7 additions & 7 deletions test/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
source 'https://rubygems.org'

gem 'sinatra', '2.0.5'
gem 'sinatra-activerecord', '2.0.13'
gem 'mysql2', '0.4.10'
gem 'rake', '12.3.0'
gem 'minitest', '5.11.3'
gem 'i18n', '0.9.3'

gem 'sinatra', '2.1.0'
gem 'sinatra-activerecord', '2.0.22'
gem 'mysql2', '0.5.3'
gem 'rake', '13.0.3'
gem 'minitest', '5.14.4'
gem 'i18n', '1.8.9'
gem 'webrick', '1.7.0'
71 changes: 37 additions & 34 deletions test/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,48 +1,51 @@
GEM
remote: https://rubygems.org/
specs:
activemodel (5.1.4)
activesupport (= 5.1.4)
activerecord (5.1.4)
activemodel (= 5.1.4)
activesupport (= 5.1.4)
arel (~> 8.0)
activesupport (5.1.4)
activemodel (6.1.3.2)
activesupport (= 6.1.3.2)
activerecord (6.1.3.2)
activemodel (= 6.1.3.2)
activesupport (= 6.1.3.2)
activesupport (6.1.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
arel (8.0.0)
concurrent-ruby (1.0.5)
i18n (0.9.3)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
concurrent-ruby (1.1.8)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
minitest (5.11.3)
mustermann (1.0.3)
mysql2 (0.4.10)
rack (2.0.6)
rack-protection (2.0.5)
minitest (5.14.4)
mustermann (1.1.1)
ruby2_keywords (~> 0.0.1)
mysql2 (0.5.3)
rack (2.2.3)
rack-protection (2.1.0)
rack
rake (12.3.0)
sinatra (2.0.5)
rake (13.0.3)
ruby2_keywords (0.0.4)
sinatra (2.1.0)
mustermann (~> 1.0)
rack (~> 2.0)
rack-protection (= 2.0.5)
rack (~> 2.2)
rack-protection (= 2.1.0)
tilt (~> 2.0)
sinatra-activerecord (2.0.13)
activerecord (>= 3.2)
sinatra-activerecord (2.0.22)
activerecord (>= 4.1)
sinatra (>= 1.0)
thread_safe (0.3.6)
tilt (2.0.9)
tzinfo (1.2.5)
thread_safe (~> 0.1)
tilt (2.0.10)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
webrick (1.7.0)
zeitwerk (2.4.2)

PLATFORMS
ruby

DEPENDENCIES
i18n (= 0.9.3)
minitest (= 5.11.3)
mysql2 (= 0.4.10)
rake (= 12.3.0)
sinatra (= 2.0.5)
sinatra-activerecord (= 2.0.13)
i18n (= 1.8.9)
minitest (= 5.14.4)
mysql2 (= 0.5.3)
rake (= 13.0.3)
sinatra (= 2.1.0)
sinatra-activerecord (= 2.0.22)
webrick (= 1.7.0)