Skip to content

Commit 2bd0da9

Browse files
authored
Merge pull request #804 from cul-it/dev
Merge Dev to Main
2 parents b232564 + 6a1a768 commit 2bd0da9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1138
-1044
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.2.2
1+
ruby-3.4.8

Dockerfile

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
ARG RUBY_VERSION=3.2.2
1+
ARG RUBY_VERSION=3.4.8
22

33
################################################################################
44
# Stage for building base image
5-
# Debian 12
6-
# Includes high vulnerability:
7-
# GnuTLS - https://scout.docker.com/vulnerabilities/id/CVE-2024-0567
8-
# Check container-discovery for examples of patching CVEs
9-
FROM ruby:$RUBY_VERSION-slim-bookworm as ruby_base
5+
# Debian 13
6+
FROM ruby:$RUBY_VERSION-slim-trixie as ruby_base
107

118
# Install packages required for rails app
129
RUN apt-get update -qq && apt-get install -y --no-install-recommends \
1310
build-essential \
14-
default-libmysqlclient-dev=1.1.0 \
15-
cron=3.0pl1-162 \
16-
nodejs=18.20.4+dfsg-1~deb12u1 \
17-
npm=9.2.0~ds1-1 \
18-
imagemagick=8:6.9.11.60+dfsg-1.6+deb12u4
11+
default-libmysqlclient-dev=1.1.* \
12+
cron=3.* \
13+
nodejs=20.19.* \
14+
npm=9.2.* \
15+
imagemagick=8:7.1.1.* \
16+
libghc-libyaml-dev=0.1.*
1917

20-
RUN npm install --global yarn@1.22.22
18+
RUN npm install --global yarn@1.22.*
2119

2220
################################################################################
2321
# Install additional libraries for development
2422
FROM ruby_base as dev_base
2523

2624
RUN apt-get update -qq && apt-get install -y --no-install-recommends \
27-
mariadb-server \
28-
libsqlite3-dev=3.40.1-2+deb12u2
25+
mariadb-server=1:11.8.* \
26+
libsqlite3-dev=3.46.*
2927

3028
################################################################################
3129
# Build test environment

Gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby '3.2.2'
4+
ruby '3.4.8'
55

6-
gem 'rails', '~> 8.0.2'
6+
gem 'rails', '~> 8.1.0'
77

88
gem 'appsignal'
99
# Reduces boot times through caching; required in config/boot.rb
@@ -32,7 +32,7 @@ gem 'rdoc', require: false
3232
gem 'riiif'
3333
gem 'rsolr'
3434
gem 'ruby-oembed'
35-
gem 'sidekiq', '~> 7'
35+
gem 'sidekiq', '~> 8'
3636
gem 'sitemap_generator'
3737
# Use sqlite3 as the database for Active Record
3838
gem 'sqlite3'
@@ -47,7 +47,7 @@ gem 'whenever', require: false
4747

4848
# Gems manually added to control blacklight and spotlight versions
4949
gem "blacklight", ">= 8.7.0", "< 9"
50-
gem 'blacklight-gallery', '~> 4.8.0'
50+
gem 'blacklight-gallery', '~> 4.9.0'
5151
gem 'blacklight-oembed', '~> 1.0'
5252
gem 'blacklight-spotlight', '~> 5.2.0'
5353
gem 'openseadragon', '~> 1.0.0'

0 commit comments

Comments
 (0)