diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c63fb1a5..b0c9f95c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ env: - RUBY_VERSION: 3.1.0 + RUBY_VERSION: 3.3.4 DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres name: CI @@ -15,7 +15,7 @@ on: jobs: test: name: Rubocop + Rails Test - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.10 services: postgres: @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v3 - name: Install Ruby ${{ env.RUBY_VERSION }} - uses: ruby/setup-ruby@v1.126.0 + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ env.RUBY_VERSION }} diff --git a/Dockerfile b/Dockerfile index d1222cde..13edd982 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.17 AS alpine +FROM alpine:3.20 AS alpine FROM ubuntu:20.04 AS bbb-playback ENV DEBIAN_FRONTEND=noninteractive @@ -44,9 +44,9 @@ RUN apk add --no-cache \ tzdata \ shared-mime-info # ruby-start. -# Install Ruby from sources since Scalelite does not use the version shipped with Apline. -ARG RUBY_RELEASE="https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz" -ARG RUBY="ruby-3.1.6" +# Install Ruby from sources since Scalelite does not necessarily use the version shipped with Apline. +ARG RUBY_RELEASE="https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz" +ARG RUBY="ruby-3.3.6" RUN apk add --no-cache git make gcc g++ libc-dev pkgconfig \ libxml2-dev libxslt-dev postgresql-dev coreutils curl wget bash \ gnupg tar linux-headers bison readline-dev readline zlib-dev \ diff --git a/dockerfiles/v1/focal260-alpine b/dockerfiles/v1/focal260-alpine index d1222cde..13edd982 100644 --- a/dockerfiles/v1/focal260-alpine +++ b/dockerfiles/v1/focal260-alpine @@ -1,4 +1,4 @@ -FROM alpine:3.17 AS alpine +FROM alpine:3.20 AS alpine FROM ubuntu:20.04 AS bbb-playback ENV DEBIAN_FRONTEND=noninteractive @@ -44,9 +44,9 @@ RUN apk add --no-cache \ tzdata \ shared-mime-info # ruby-start. -# Install Ruby from sources since Scalelite does not use the version shipped with Apline. -ARG RUBY_RELEASE="https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz" -ARG RUBY="ruby-3.1.6" +# Install Ruby from sources since Scalelite does not necessarily use the version shipped with Apline. +ARG RUBY_RELEASE="https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz" +ARG RUBY="ruby-3.3.6" RUN apk add --no-cache git make gcc g++ libc-dev pkgconfig \ libxml2-dev libxslt-dev postgresql-dev coreutils curl wget bash \ gnupg tar linux-headers bison readline-dev readline zlib-dev \