From 72715fe5f8d8977a0fb058973ba31d781cb7cfe1 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Thu, 15 Feb 2024 20:11:04 +0000 Subject: [PATCH] chore: upgrade ruby to 3.2.2 and nodejs to 20.x --- .ruby-version | 3 +-- CONTRIBUTING.md | 2 +- Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.ruby-version b/.ruby-version index 667b8b1..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1,2 +1 @@ -3.2.1 - +3.2.2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0724581..4b3a15a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ This doc explains how to go about running Postal in development to allow you to You will need a MySQL database server to get started. Postal needs to be able to make databases within that server whenever new mail servers are created so the permissions that you use should be suitable for that. -You'll also need Ruby. Postal currently uses Ruby 3.2.1. Install that using whichever version manager takes your fancy - rbenv, asdf, rvm etc. +You'll also need Ruby. Postal currently uses Ruby 3.2.2. Install that using whichever version manager takes your fancy - rbenv, asdf, rvm etc. ## Clone diff --git a/Dockerfile b/Dockerfile index b1b17c1..cf07188 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM ruby:3.2.1-bullseye AS base +FROM ruby:3.2.2-bullseye AS base SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN apt-get update \ && apt-get install -y --no-install-recommends \ software-properties-common dirmngr apt-transport-https \ - && (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \ + && (curl -sL https://deb.nodesource.com/setup_20.x | bash -) \ && rm -rf /var/lib/apt/lists/* # Install main dependencies