Skip to content

Commit

Permalink
Upgrade base ruby image to 3.3 + various dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
blambeau committed Feb 23, 2024
1 parent f449e88 commit aa71f92
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 24 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 3.7.0 - 2024/02/23

* Upgraded base image to ruby 3.3

* schemaspy.jar upgraded to 6.2.4

* postgresql.jar upgraded to 42.7.6

* bmg upgraded to 0.21.x

* General ruby bundle update

## 3.6.0 - 2023/10/17

* Version bump with new docker image bringing psql and pg_dump 15.x
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.1
FROM ruby:3.3

ENV LANG C.UTF-8
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down Expand Up @@ -28,8 +28,8 @@ COPY --chown=app:app lib/db_agent/version.rb /home/app/lib/db_agent/version.rb
RUN cd /home/app && bundle install --path=vendor/bundle

RUN mkdir -p /home/app/vendor && \
curl -L https://jdbc.postgresql.org/download/postgresql-42.6.0.jar -o /home/app/vendor/postgresql-42.6.0.jar && \
curl -L https://github.com/schemaspy/schemaspy/releases/download/v6.2.2/schemaspy-6.2.2.jar -o /home/app/vendor/schemaspy-6.2.2.jar
curl -L https://jdbc.postgresql.org/download/postgresql-42.7.6.jar -o /home/app/vendor/postgresql-42.7.6.jar && \
curl -L https://github.com/schemaspy/schemaspy/releases/download/v6.2.4/schemaspy-6.2.4.jar -o /home/app/vendor/schemaspy-6.2.4.jar

COPY --chown=app:app . /home/app

Expand Down
41 changes: 21 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
dbagent (3.6.0)
bmg (~> 0.20)
bmg (~> 0.21)
net-ping (~> 2)
path (~> 2)
pg (~> 1)
Expand All @@ -15,43 +15,43 @@ PATH
GEM
remote: http://rubygems.org/
specs:
bigdecimal (3.1.4)
bmg (0.21.2)
bigdecimal (3.1.6)
bmg (0.21.3)
path (>= 2.0)
predicate (>= 2.7.1, < 3.0)
daemons (1.4.1)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
eventmachine (1.2.7)
minitest (5.20.0)
minitest (5.22.2)
mustermann (2.0.2)
ruby2_keywords (~> 0.0.1)
net-ping (2.0.8)
path (2.1.0)
pg (1.5.4)
pg (1.5.5)
predicate (2.8.0)
minitest (>= 5.0)
sexpr (~> 1.1)
rack (2.2.8)
rack (2.2.8.1)
rack-protection (2.2.4)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
rake (13.1.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
ruby2_keywords (0.0.5)
sequel (5.73.0)
sequel (5.77.0)
bigdecimal
sexpr (1.1.0)
sinatra (2.2.4)
Expand All @@ -66,6 +66,7 @@ GEM
tilt (2.3.0)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand Down
2 changes: 1 addition & 1 deletion dbagent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.add_dependency 'rake', '~> 13'
s.add_dependency 'path', '~> 2'
s.add_dependency 'sinatra', '~> 2'
s.add_dependency 'bmg', '~> 0.20'
s.add_dependency 'bmg', '~> 0.21'
s.add_dependency 'net-ping', "~> 2"
s.add_dependency "predicate", "~> 2", ">= 2.7.1"
s.add_dependency 'thin', '~> 1'
Expand Down

0 comments on commit aa71f92

Please sign in to comment.